Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Los_Angeles (GMT-08:00)

This topic contains 10 replies, has 2 voices.

Last updated by Bobby 8 months, 4 weeks ago.

Assisted by: Bobby.

Author Posts
February 6, 2024 at 7:59 pm #15273665

musheghD

Tell us what you are trying to do?
I mistakenly set my site's default language to Armenian at the beginning. As a result, it now interprets even English words as Armenian and tries to translate them into English. However, I need to reverse this process.

Is there any documentation that you are following?
I've tried to read the documentation and find the similar cases but couldn't find. The suggestion from documentation is to change the default language. I tried to change default language from Armenian to English, but I lost all my pages, after that all pages went me 404 not exist.

Is there a similar example that we can see?
I couldn't find the similar case

What is the link to your site?
kare-house.am

February 6, 2024 at 10:14 pm #15274017

Bobby
Supporter

Languages: English (English )

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

Hi,

Before installing WPML which language was your site created in?

When you say that it interprets English words as Armenian, where is this happening, please share an example with me.

If this is happening in WPML->String Translation you can use the steps from the following documentation to resolve it in bulk by changing the language of entire contexts

https://wpml.org/documentation/getting-started-guide/string-translation/how-to-change-the-source-language-of-strings/#:~:text=To%20change%20the%20source%20language%20of%20specific%20strings%2C%20select%20them,Then%2C%20select%20the%20new%20language.&text=You%20can%20also%20change%20the%20language%20of%20entire%20contexts.

Furthermore, if this is a new installation and not much translation work has been done you can RESET WPML from WPML->Support->Troubleshooting->RESET WPML.

NOTE: Please do not RESET WPML if you have translations you would not want to lose, this completely deletes WPML and starts over from the beginning.

February 7, 2024 at 9:38 am #15275566

musheghD

Original language was english. Every page, plugin etc. which I want to translate from english to Armenian, it doesn't allow, because the original language is shown as Armenian. Unfortunately I can't reset the plugin because it's too late to do that, I will lose a lot of work which we did before.

image_2024-02-07_133411585.png
image_2024-02-07_133142698.png
February 7, 2024 at 6:44 pm #15278652

Bobby
Supporter

Languages: English (English )

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

Please go to WPML->Languages->change the default language to English.

once done go to Permalinks and re save them.

Let me know if the 404 issue persists, if yes I would like to take a closer look.

I would like to request temporary access (wp-admin and FTP) to your site to test the issue.
(preferably to a test site where the problem has been replicated if possible)

**Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken **

I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/
You will find the needed fields for this below the comment area when you log in to leave your next reply.
The information you enter is private which means only you and I have access to it.

NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin.

Thank you,
Bobby

February 12, 2024 at 7:15 pm #15294601

Bobby
Supporter

Languages: English (English )

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

Thank you for the access details!

The username is not working when I attempt to log in.

Please review and update.

February 12, 2024 at 7:19 pm #15294603

musheghD

Sorry, can you please try again?

February 12, 2024 at 9:11 pm #15294844

Bobby
Supporter

Languages: English (English )

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

Thank you it worked now!

If you deactivated WPML (work is not lost so no worries about that), I can see that WP is in English but the menu and homepage remain in the Armenian versions.

I want to verify again that before WPML your site was only built in English correct from what I see at the moment it looks like it was originally built in Armenian and EN is the secondary language.

For example your homepage here:
hidden link

This page is created first and then the English version was created as a translation.

Either way you can still change the defautl language to English, however, you will need to re-configure your site.

1. Go to WPML->Languages->Change default language
2. Go to Settings->Reading and make sure that the homepage is set to the English version
3. Got to Appearance-> Menus and set the correct language menu to be the main menu

February 16, 2024 at 1:56 am #15309841

musheghD

Thanks Bobby for your suggestions.
I followed the steps that you mentioned.
Now the default language is English, site is working properly, however faced with several issues
1. all page languages are still Armenian by default.
2. I lost the language switch from menu, and unable to add it from wpml/translations (the existing menu is not appearing in the list of menus to add the language switcher)
3. How can set default language for visitors Armenian even if the default site language is English?

Thanks for assistance

February 16, 2024 at 2:37 am #15309883

Bobby
Supporter

Languages: English (English )

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

Hi,

1. When I visit your site I can see the homepage is showing in English as expected, please share a screenshot or a specific example so I can better understand if possible

2. If you go to Appearance->Menus you will notice that the default menu is set to 'Main Menu' , Main Menu does not have a translation that exists in English which is why you cannot add a menu language switcher.

Please go to Appearance->Menus-> Menu 1 and add a translation to it.

Click on the + icon to add a translation for the Armenian language.

Once done set it to the default menu for your site.

Then go to WPML->languages->menu language switcher and add the language switcher to the menu.

https://wpml.org/documentation/getting-started-guide/translating-menus/

3. WPML offers the feature of Browser Language Redirection.

This redirects users based on their browser's language. If a user has a browser set to Armenian they will be redirected to the Armenian version, however, do note that it is not IP/ Geolocation based.

You can review more about it here:
https://wpml.org/documentation/getting-started-guide/language-setup/automatic-redirect-based-on-browser-language/#:~:text=WPML%20lets%20you%20redirect%20visitors,is%20to%20not%20redirect%20visitors.

Let me know your results, please.

February 23, 2024 at 11:44 am #15337373

musheghD

Can I by default open the Armenian language even if the site's default language is set to English?

February 23, 2024 at 9:14 pm #15339400

Bobby
Supporter

Languages: English (English )

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

Hi,

Please elaborate on the above question so I can better understand.

The topic ‘[Closed] By mistake I set my site default language to Armenian and can't change it.’ is closed to new replies.