This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by Bruno Kos 2 months ago.

Assigned support staff: Bruno Kos.

Author Posts
August 12, 2019 at 2:20 am

wirathipT

I am trying to: I need a website to be in English and in Thai. I need the content to be translated in both languages in admin and in the header, I inserted the language-translation map. when a user clicks on the flag, the website must be translated to a specific language. I tried but it is not working. Can you check into this and let me know if I have missed any setting or need to do update anything?

English URL: hidden link
Thai URL: hidden link.

I could not make the URL as listed above. Please guide to integrate it.

Link to a page where the issue can be seen:

I expected to see: hidden link

Instead, I got:

I have additional queries,

1. I need to load browser based on user location, is it possible in our plugin, If yes please send me how to do it.
2. When a website is changed to a specific language, I need the woo-commerce currency and payment to be translated to specific which is translated in the admin.

example. In English the woo-commerce currency must be USD and payment option should be PayPal.When the Thai language is selected, I need curreny in Thai and payment option must me omise. Is it possible? Please help me implemnt this?
3. Once an order is placed, I need to translate the email template based on language which is selected on the browser. Can you help me integrate it?

I have file manager plugin, you can edit a file using it.

below are admin credentials,

hidden link

hidden link
Username : admin
Password: 64hPcciVmv

please let me know if you need anything?

August 12, 2019 at 2:29 am #4377839

wirathipT

Please reply to me ASAP. I need to work on it. Please provide be solutions or just modify the setting to achieve the above-listed features. From admin, You can edit the file via the file manager menu, let me know if you have any issues regarding it.

August 12, 2019 at 1:10 pm #4381085

Bruno Kos
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

Thank you for contacting WPML support!

For support rules we are able to handle only one issue at a time and this is especially important with recurring issues or more complex things. This practice also helps other WPML users to browse through resolved issues and to find solutions more easily. I believe there are multiple issues here, so let me focus on this one.

English URL: hidden link
Thai URL: hidden link.

I could not make the URL as listed above. Please guide to integrate it.

This will not work - see here:
https://wpml.org/documentation/getting-started-guide/language-setup/#language-url-format

This part:

"Different languages in directories – like wpml.org/es/ for Spanish and wpml.org/de/ for German."

will only work for the home page, for other pages it would be something like:
hidden link

However, if these are home pages in fact (it looks like they are), for English to have /en, you will need root page set:
https://wpml.org/documentation/getting-started-guide/language-setup/directory-default-language/

On a side note, I think that you will find these answers as useful as well:
https://wpml.org/documentation/getting-started-guide/language-setup/automatic-redirect-based-on-browser-language/
https://wpml.org/forums/topic/automatic-currency-change-when-the-language-is-changing/#post-2951948
https://wpml.org/forums/topic/automatic-currency-change-when-the-language-is-changing/#post-2953334

Also these:
https://wpml.org/forums/topic/translating-woocommerce-emails-2/
https://wpml.org/forums/topic/how-to-translate-confirmation-emails/
https://wpml.org/forums/topic/how-to-translate-woocommerce-email-notification/

However, we (support) can't do this for you because it is custom work, but you can also reach out to our contractors:
https://wpml.org/contractors/

Regards,
Bruno Kos

August 12, 2019 at 2:57 pm #4381757

wirathipT

Hi,

Can you guide me to solve the above issue. Is there some thing i am missing while translation.

August 13, 2019 at 5:48 am #4385123

Bruno Kos
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

Which issue? Or are you referring to another ticket maybe?

Regards,
Bruno Kos

The topic ‘[Closed] Language translation Not working as described.’ is closed to new replies.