I’m facing an issue with my multilingual website built on WordPress. I have a domain targeting the Russian market: linsyaluminum.ru.
Initially, I created all my content in English and then used the TranslatePress plugin to translate it into Russian. I then set the default language to Russian in the plugin settings.
My goal is to have visitors see the Russian content directly when they access linsyaluminum.ru, without any language code in the URL (i.e., not linsyaluminum.ru/ru).
However, even after setting Russian as the default language, the website still displays in English when I visit linsyaluminum.ru.
I’ve already cleared my browser cache and server cache, but the issue persists. I’m not sure what I’m missing. Any suggestions on how to resolve this would be greatly appreciated!
Thank you!
]]>Right now the whole site is already in english, so I would like to keep that translation.
Is it possible to have english as the default language in the settings, but have visitors have danish as default when they enter the site?
The reason I am asking is so I don’t have to first manually translate the whole site into danish and then add english and translate it all back again.
]]>I want to have a sub-directory URL for the default language same as it is for the translated language. Then choose which sub-directory the domain is opening. Is that possible?
Explanation:
So if default language is English and translated language is German, sub-directory for English should be example.com/en/, and for translated German language should be example.com/de/
The domain example.com can then be set to point either to /en/ sub-directory or to /de/ sub-directory thus enabling choice which language shows first when you open the website.
How can do that with this plugin?
Any way that i can unpublish those pages or use translatepress only to translate certain strings on my default language instead of having a multilingual website ?
View post on imgur.com
Edit : Can i delete english as an option here and not lose the translations to french already in place ?
Thank you
]]>The default language for the plugin is ‘plain text’. How can I change this to be my preferred language?
I found this post with the PHP snippet, but it’s not working for me. Do you have an adjusted code for me?
https://www.ads-software.com/support/topic/how-to-set-a-default-language-parameter/
]]>you guys sent me this code to put it in footer.php
<script type="text/javascript">
?setTimeout(function(){
?if(localStorage.getItem("ChangeLanguageFirstTime") === null) {
? doGTranslate('en|sv');
? localStorage.setItem("ChangeLanguageFirstTime", true);
?}
? }, 3000);
?</script>
but it didnt works
]]>please advice.
]]>So, I want the wp-admin pages to be in english, but the site in French.
There will be no more languages, therefore, no language switcher as well.
The only way I found to translate the site to FR, was to change the WordPress default language, which also translates the wp-admin pages.
Any help? Cheers
]]>