Problem:
My problem now is that I want to add en-GB as a language. When I try to add English with a code of 'uk' I get an error that 'The Language code already exists.'. I assume this is because the database is pre-populated with Ukraine as a language. This is not unreasonable, but people in the UK often refer to the country as UK not GB, and even if I could change my folder for UK English to be GB it is pre-existing as UK, so this would cost me in SEO which I cannot accept.
Solution:
Deleting a language from WPML is not a good idea.
Instead, you can go to WPML → Languages → Site Languages, press the Add / Remove languages, add the Ukraininan language, then press the Edit Languages link. This way you'll be able to "transform" Ukrainian into UK English.
Problem: We are using the Salient Theme and our problem is that the link of the button module of the vpbakery implementation is not pointing to a translated site but to the original
Solution: I added the following code in WPML -> Settings -> Custom XML Configuration tab:
I would like to ask you to follow these steps:
- Go to WPML -> Settings -> Activate Classic Translation Editor
- Edit the test page in German -> Make a small change in the content -> Save the changes -> Update the translation.
Problem: Unable to access the sub sections of WooCommerce My Account page in secondary language
Solution: This issue is happening because there are limitations to use different slugs for WooCommerce Endpoints. It works after the following steps. Please try it after a full site backup.
1) Go to Woocommerce>>Settings>>Advanced
2) Scroll down to the endpoints section and save
3) Go to WPML>>String Translation
4) Choose *WP Endpoints* option for *Select strings within domain* drop-down box
5) Delete the WP Endpoints strings registered in Arabic
6) Mark the translation of English WP Endpoints as *Not translated*
7) Visit Settings>>Permalinks and resave the settings
Problem:
When moving between months, the url now looks like this:
domain.com/(/?:events)/(/?:month)/2020-05/ when it should look like domain.com/events/month/2020-05/
Solution:
Events Calendar takes the translation of months from WordPress language files. If you have those translation downloaded, month and day strings will be loaded from those files. Otherwise, you can delete language files and translate months using WPML.