This thread is resolved. Here is a description of the problem and solution.
Problem:
The client's store default language is English with the currency in USD. They want to display different currencies based on the language, specifically GBP for the UK, without duplicating content or losing automatic translation capabilities. Further, they need to translate the footer.
Solution:
1. Set posts and pages to "Translatable - fallback to default language if a translation does not exist" under WPML > Settings > Post Type Translation. This allows the UK content to display the original US content without creating translations or duplicates for the UK. Guide
2. For currency settings, navigate to WooCommerce > WooCommerce Multilingual & Multi-Currency, and under the Currency tab, set a default currency for each language. Guide
3. To ensure the footer links retain the correct language parameter, translate the widgets via WPML > String Translation, selecting the text domain "Widgets". Guide
If this solution does not resolve your issue or seems outdated, please check related known issues, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. We highly recommend opening a new support ticket for further assistance at WPML support forum.
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: Documentation request
This topic contains 4 replies, has 0 voices.
Last updated by Andreas W. 1 week, 1 day ago.
Assisted by: Andreas W..
Author | Posts |
---|---|
January 11, 2025 at 3:21 pm #16584236 | |
valeng |
Background of the issue: i have tried adding language English for united kingdom under WPML> Languages section using en_gb code. It seems working. But i have to duplicate the English content to English (United Kingdom) to make contents show up at website front end correctly, in this way, i can not use the automatic translate by WPML also as it is the same language. Which I think it is unrealistic also. May i have your help on it please? Thanks Symptoms: Questions: |
January 11, 2025 at 5:08 pm #16584472 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, If your site's default language is English, you can go to WPML > Settings > Post Type Translation and set posts and pages to "Translatable or fallback to default language if a translation does not exist". This way the UK content will display the original US content without the need to create an translations or duplicates for UK. Downside: It will display the US content for any language that is missing a translation for a specific page or post. About automatic translation: It should be possible to use DeepL or other engines to translate from en_us to en_gb but it might be that this is something that WPML does not cover yet. I can offer to consult the ATE Team about any plans to implement such a feature and then get back to you. About the currencies: Please go to WooCommerce > WooCommerce Multilingual & Multi-Currency and open the Currency tab. Here you can set a default currency for each language if you use the setting to display the currency by site's language. Best regards |
January 12, 2025 at 9:09 am #16585279 | |
valeng |
Hi Andreas, Thank you! After done, products show up correctly with ?lang=en_gb parameter at the end of url, this is what i want . But i notice that on website footer it is not, it jumps to default languge page. The problems not happens in other translated languages like France,Germany. But only happens on English-United Kingdom, and English_Canada which the same language which website default language. |
January 14, 2025 at 4:56 pm #16594111 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
I would suggest translating the footer in this case, as this behavior might be expected when using fallback. Please give this a test. If you would like me to take a look as admin, please let me know. |
January 14, 2025 at 8:08 pm #16594820 | |
valeng |
Yes please take a look as admin. Where I share the admin username and password please |
January 14, 2025 at 9:08 pm #16594910 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hi, I would like to offer to take a closer look and request temporary access (wp-admin and FTP) to the site to investigate the issue further. The required fields are below the comment section when you log in to leave the next reply. The information you provide is private, meaning only you and I can see and access it. IMPORTANT If you can't see the "wp-admin / FTP" fields, your post and site login details will be set to "PUBLIC". DO NOT publish the data unless you see the required wp-admin / FTP fields. The private reply form looks like this: The next time you reply, click on "I still need assistance". Video: Please note that we are obliged to request this information individually on each ticket. We are not allowed to access any credentials that were not specifically submitted on this ticket in the private response form. Best regards |
January 14, 2025 at 11:35 pm #16595161 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
In your case you are not using a Footer Template instead you are using widgets from Appearance > Widgets. Those widgets can be assigned to "All languages" and in this case, you translate them with WPML > String Translation. Alternatively, you can assign each widget to a specific widget and create one widget per language. Please follow this guide and let me know if further assistance is required: |
January 15, 2025 at 3:35 am #16595385 | |
valeng |
Hi Adreas, Yes After using a footer template, it works for united kingdom. When i make change to the default English footer template, the French,German,Romania language footer follow the changing automatically also. But not the Dutch. As you can see from the screenshot bellow, the footer of Dutch language is different with others. |
January 15, 2025 at 5:13 pm #16598488 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
I went to Avada > Layouts, set the admin language to "All languages" an clicked save. This will make sure that the display conditions will be saved in all languages and I can currently see translated footers in each language which has a translated footer template. Can you please confirm if this solves the issue for you? |
January 16, 2025 at 1:58 am #16599559 | |
valeng |
The issue persist. If you check the footer of netherland language, it only has four columns, which other language has 5 columns. And if we make a change on the default language (English) footer, the footer of Netherland language not synch the change. |
January 16, 2025 at 2:18 am #16599560 | |
valeng |
Also i notice that on the header menu,The frence,netherland,romanian language product secondary menu dropdown layout style do not sync the design of English. as you can see the screenshot: hidden link it drow down vertically, which should be Horizontally as English language drow down style |
January 16, 2025 at 7:02 pm #16603635 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
You need to translate the widgets in this case. Guide: |
January 18, 2025 at 1:59 am #16608621 | |
valeng |
hi Andreas, Could you help me translate the widgets to see if the issue persist? |
January 18, 2025 at 3:32 pm #16609324 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hi, I already did this yesterday for the Dutch Footer and it solved the issue, as you can see on the screenshot. There is only one section that I simply have not translated completely yet. You need to go to WPML > String Translation, select the text domain "Widgets" and make sure that all strings are translated. |
January 18, 2025 at 4:03 pm #16609401 | |
valeng |
Hi Andreas, Yes it works. i see that the header product menu drogdown style of Netherland, France, Romanian do not sync the design of English. as you can see the screenshot: Enlish version: hidden link Why this happens and how to solve this issue please? Thanks! New threads created by Andreas W. and linked to this one are listed below: https://wpml.org/forums/topic/split-style-issues-on-header-menu/ |