Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- - 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00
- - - - - - -

Supporter timezone: America/Lima (GMT-05:00)

This topic contains 4 replies, has 0 voices.

Last updated by Andreas W. 13 hours, 2 minutes ago.

Assisted by: Andreas W..

Author Posts
January 11, 2025 at 3:21 pm #16584236

valeng

Background of the issue:
My store default language is English, currency is USD. I want to show the currency base on language. But for united Kingdom it has the same language with United Sates. Which unable for me to do that.
For example, i want:
hidden link currency in USD
hidden link currency in GBP.

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:
I am unable to show different currencies for the United States and the United Kingdom because they are the same languge. If adding different language code, need to duplicate the English content. need better way

Questions:
When my store default show USD currency in Unisted States. How can I configure WPML to show GBP for the United Kingdom without duplicating content
What to do while having different currencies for the same language?

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.

Guide:
https://wpml.org/documentation/translating-your-contents/displaying-untranslated-content-on-pages-in-secondary-languages/

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.

Guide:
https://wpml.org/documentation/related-projects/woocommerce-multilingual/multi-currency-support-woocommerce/#configuring-currencies

Best regards
Andreas

January 12, 2025 at 9:09 am #16585279

valeng

Hi Andreas,

Thank you!
It works perfect for me via using the configuration. WPML > Settings > Post Type Translation and set posts and pages to "Translatable or fallback to default language if a translation does not exist".

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.
you can check this url: hidden link
and if you move to footer and click Terms&Conditions, the URL is hidden link Which suppose to be hidden link

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
Please be sure to back up the site and database before granting us access.

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:
hidden link

The next time you reply, click on "I still need assistance".

Video:
hidden link

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
Andreas

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:
https://wpml.org/documentation/getting-started-guide/translating-widgets/

January 15, 2025 at 3:35 am #16595385

valeng

Hi Adreas,

Yes After using a footer template, it works for united kingdom.
But there is another issue coming up.

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.

footer under Dutch.png
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:
https://wpml.org/documentation/getting-started-guide/translating-widgets/