Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is developing a site and wants to set up the primary .com domain in American English with a directory for British English.
Solution:
1. Go to WPML > Languages > Site Languages and click "Edit Languages".
2. Add a new custom language using the language code "en-us" for American English. By default, the pre-installed English in WPML uses the locale en_US. Change this to en_GB for British English.
3. You can upload custom flags for each language. Find flags ready to use in WPML's plugin folder on the server. For more details on custom flags, visit Guide for flags.
4. In WPML > Languages > Language URL format, select "Different languages in directories" and save the WordPress Permalinks if you adjust this option.
5. Ensure that American English is set as the Site Default language in WPML > Languages > Site Languages.

This solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If this does not resolve your issue, please open a new support ticket 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.

This topic contains 3 replies, has 0 voices.

Last updated by Andreas W. 2 weeks ago.

Assisted by: Andreas W..

Author Posts
May 29, 2025 at 4:03 pm #17089150

justinb-4

Background of the issue:
I am developing a site and want my primary .com domain to be in American English. I also want to set up a directory for Queen's English.

Symptoms:
Not sure about the best process for setting this up.

Questions:
What is the best process for setting up a primary .com domain in American English with a directory for Queen's English?

May 29, 2025 at 5:45 pm #17089419

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

In this case, you would need to go to WPML > Languages > Site Languages and click "Edit Languages".

Here you can add a new custom language, like for example using the language code "en-us" to create American English.

Guide:
https://wpml.org/documentation/getting-started-guide/language-setup/editing-wpmls-languages-table/

Take note that by default the pre-installed English language in WPML uses the default locale en_US as this is WordPress Standard. You can change this one to en_GB.

Also, take note that you can upload custom flags. You will find flags ready to use in WPML's plugin folder on the server:

Guide for flags:
https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/custom-language-flags/

Further, on WPML > Languages > Language URL format make sure to use the option " Different languages in directories" and save the WordPress Permalinks in case you will adjust this option.

Now, you should for example see:

sitename.com > British English
sitename.com/en-us > American English

Best regards
Andreas

May 29, 2025 at 9:33 pm #17089949

justinb-4

So it looks like i could also do this, right?
sitename.com > American English
sitename.com/en-gb > British English

May 29, 2025 at 9:34 pm #17089951

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Absolutely, you will only need to make sure that American English is set as the Site Default language in WPML > Languages > Site Languages.