This thread is resolved. Here is a description of the problem and solution.
Problem: How to add an extra version of english so that australian / british / other english variants (or minor string changes ) may be made or how to add a custom language.
Solution: 'Add custom language' is the best way and user-friendly.
Fill the generated row as:
Code: a unique value that identifies the language. Once entered, the language code cannot be changed.
Translations: the way the language name will be displayed in different languages.
Flag:the flag to display next to the language (optional). You can either upload your own flag or use one of WPML's built-in flag images.
Default locale: This determines the locale value for this language. You should check the name of WordPress localization file to set this correctly.
Encode URLs: yes/no, determines if URLs in this language are encoded or use ASCII characters (leave ‘no’ if you are not sure).
hreflang: the code Google expects for this language. The hreflang should contain at least the language code (usually, made of two letters), or, if you want to specify the country/region, it should be the same information as the locale name, but in a slightly different format. If the locale for Canadian French is fr_CA, the corresponding hreflang would be fr-ca. Instead of an underscore, use a dash (-) and all letters should be lowercase.
For Australian English:
name = Your choice code = en-au hreflang = en-AU (since this is only for English users who are from Australia) locale = en_AU flag = Your own graphic
Please refer: 1. A complete list of Locale Code: https://wpastra.com/docs/complete-list-wordpress-locale-codes/ 2. How to create / decide 'hreflang' : https://wpml.org/documentation/support/adding-hreflang-wordpress/#how-wpml-creates-hreflang-tags (important)
A quick video : https://www.youtube.com/watch?v=gbdbEOQA0Kw
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.