Background of the issue:
We developed the site in Italian first and added Hungarian and English language. Now we need to change the main language to English, so when we further add the languages, we like to translate it from English.
Symptoms:
No specific issue or error message mentioned.
Questions:
How to change the main language to English in WPML?
Thank you for contacting WPML Support, I will gladly help you.
You can change the site's default language like this, so on WPML -> languages. However note that even in such cases, pages that were created in English will have to be translated from English to other languages, more precisely if you change the site's default language, it will not change the language of already created pages.
In general, changing the default language does not alter the structure, what it can do though is that for example if your homepage is not translated it will show 404, so you need to take care of that.
When chaning the default language and using different domains per language, the corresponding domain will be switched as the main one as well. That is how it works, in case the domains are wrong you would need to set up the domains correctly for the language.
If you need further assistance, please share WPML support debug information from your site. To provide the debug information:
- Login to your site and go to WPML -> Support, click on the “debug information” link at the bottom of the page.
- Once on the “debug information” page, select the entire text box content and copy it.
- Go back to our support forum, find the debug information box, and paste it.
So, i need to change the Different domain option to other options and then make painfreecream.net as main domain by pointing painfreecream.it and painfree.hu...
and then again set the different domain per language option?
if the corresponding domain will be switched as the main one as well...
Then only painfreecream.net need to be assigned as main domain right, why it is taking painfreecream.it and then making Italian domain as it.painfreecream.it?
Please check the below SS for current setup and once default language is changed...
You would need to change the WordPress Address (URL)/Site Address (URL) on WP-Admin-> Settings -> General, as even after you changed the default language from WPML -> Languages, your website has the Italian domain configured as the main domain.
Try the following steps:
- change the default language: WP-Admin -> WPML -> Languages
- change the WordPress Address (URL)/Site Address (URL): WP-Admin-> Settings -> General (please check the attached image)
* Note: Please make sure you have a full backup of your website before making any updates/changes to your website.
Thank you for the access, I was able to check the website.
You would need to select "No" on the notification shown in the attached image (as you are using different domains, and not the main domain should be the one used for English). After that, you must generate a new key on your wpml.org account and register the English domain.
Please try the following steps to register the site with a new key after a full site backup [mandatory].
1. Log in to your WPML account and go to the Sites page.
2. Delete the existing site key.
3. Create a new subscription key for your site (English domain).
4. Visit your Site Dashboard and navigate to WP-Admin ->Plugins -> Add New -> Commercial tab.
5. Click on the “Unregister WPML from this site” or “Register” button.
6. Register with the new site key and refresh the page.
On that screen, you should click "Continue" as the site is changing the main domain, WPML recognizes that and requires you to add the new domain and register a new key as per the instructions I sent you previously.
Let me know if you have further questions or need further assistance.
Regards,
Marsel
The topic ‘[Closed] Change the default language for translations further’ is closed to new replies.