Please make sure to update to WPML 4.3.4 before reporting any issue

Hi, Amit here, I am the WPML Support Manager, our current ticket queue is high, update your WPML plugins and make sure you meet the minimal requirements for running WPML before reporting an issue please - many tickets are resolved doing that

Please look at our updated list of Known Issues and you can also use our support search to find helpful information and of course review our documentation before opening a ticket.

If you do need to open a ticket please make sure to provide us with all the needed information as described in this page

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 1 reply, has 2 voices.

Last updated by Bobby 7 months, 4 weeks ago.

Assigned support staff: Bobby.

Author Posts
March 28, 2019 at 12:01 pm #3480537

sepasS

Hi,

We've recently updated WPML Multilingual CMS from 3.5.3.1 to 4.2.1 and have noticed a change in behaviour.

Previously we were able to use uk for 'United Kingdom' (rather than Ukrainian) by setting the translation name to 'United Kingdom' (WPML > Languages > Edit Languages). But now it appears that the language name (e.g. Ukrainian) is being displayed in WordPress rather than the translation name (e.g. United Kingdom).

Do you have any idea why this might be? Also, can I simply change the name in the icl_languages_translations table in order to fix this.

Thanks
Sepas

March 28, 2019 at 10:25 pm #3485849

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

Hello,

WPML does not offer a default language named United Kingdom and didn't offer one in WPML version 3.5.3.

We usually recommend adding custom languages by going to WPML->languages->Edit languages->add new language.

You cant add a language with the language code 'uk' as it is reserver for the Ukrainian language by default

additionally if you are going to be using the default locale 'uk' instead of 'en_GB' you are going to be pulling automatic transaltions (for wordpress strings and backend) from WP in Ukrainian since it does not correspond to the English language as seen here
=> https://make.wordpress.org/polyglots/teams/

It is not recommend by our developers to change the structure of the default languages , but it does seem this is what was done on your site before as there is no other way to have got the 'uk' language code for a language other than Ukrainian

The topic ‘[Closed] Unexpected behaviour’ is closed to new replies.