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.