I have a page where I use language changer.
This site in Estonian is : http://localhost:8080/wordpress/wordpress/
and in English is : http://localhost:8080/wordpress/wordpress/en/
My problem: If I change language to English, then its working well, but if I go to home page, then its going http://localhost:8080/wordpress/wordpress/.
What I want : If page is in Estonia and I click home, then its going to http://localhost:8080/wordpress/wordpress/ and if page is in English and I click home, then its going to http://localhost:8080/wordpress/wordpress/en/.
How to do this ? Its going always to http://localhost:8080/wordpress/wordpress/ because in Menu structure this is Custom page and this URL is http://localhost:8080/wordpress/wordpress/..
Can anybody help me ? Thanks !
One thing you can do is adding a menu for the English version. So if a visitor is on the English site, you show the English menu, else you show the Estonia menu.
Do you use a plugin for this translation? A plugin like Polylang can simplify this proces for you.
You can use Polylang plugin, it's easier to manage and edit.
However, I encounter the same problem as you before, where in the second language, when I press the home it goes back to first language's home page.
However it is then solved by a edit in the theme file. You may want to check your theme compatibility with the plugin as well.
I've used qtranslate in the past and it's always done it's duty, now there's a new version which I haven't tried yet --> qtranslate+,
if you got problems with Stella give it a try.
Related
I'm using Polylang to support multiple languages on my site. Right now, if I'm on a post that say is in English and if I click a flag for which it has no translation (e.g. French), then I get taken to the home page in French. I don't want that. I want to stay on the current post (or better yet, be shown the post in the default polylang language) and not taken to the home page.
I've looked into setting a language attribute 'lang' => pll_default_language() in code somewhere, but I'm not really sure where to put it nor certain it would prevent the improper navigation to the home page. Does anyone know how to achieve this?
Well after 5 days of trying to find solution, I think I need WordPress magician to help me solve this.
I am translating my WordPress site. So far I have translated over 80% of the content mainly accessing .po files via server or by using LocoTranslate
I have troubles with translating some specific content on the page:
When accessing Products section in WordPress Dashboard I can see that even the settings are translated (to Danish) but some content of the same product page are not.
Image Of PRODUCT page:
What I have tried so far:
Checked all In Stock strings via LocoTranslate plugin (for main theme po file and plugins file) and all are translated to Danish.
I changed Main language in General WP Settings
Tried TranslatePress plugin, and when accessing the page via it, it does not offer an option to translate In Stock part. Evan tough it offers an option to translate action button and I did that.
As I can see on the editing page In Stock is clearly part:
Product settings on Dashboard
This means "In Stock" and even here is translated, too.
Note: When refreshing the page the translation is seen for a part of a second for the BUTTON, then it changes back to English.
Well, I am desperate. Can someone offer some other solution how I can fix this?
I am using WPML plugin in word press. I have two languages in my site. Main language is English other is Italian.
My account page sidebar is visible only in main language of the site but when i am changing the language from English to Italian, the default sidebar is not visible in "Italian" Language.
Please suggest something, how can i resolve this issue?
I got the fix. Just posting here in case anyone face the same issue.
The issue was that, i was translating the slug of the my-account page in Italian language. Due to this the sidebar was not working. When i renamed the slug back to my-account then it works.
I don't know why it was not working with the translated slug but i fixed it in this way.
I have a WordPress (4.8.2) with a Divi theme (3.0.78) and a WooCommerce (3.1.2). So everything is up to date. When I try to change the site language in the admin panel it doesn't work. I want to go to french language but it stays in English. Although the language option in the DB goes to fr_FR it keeps the site language in English. Does anyone has a clue about it?
After a few time for looking it appears that it was a Divi option which was at the origin of the issue. I had to disable the "Disable Translations" in the Divi/Theme Options/General.
Can someone tell me please how could I change a content language?
I created my basic pages in the frensh default language, now i would like to make english as my site default language, but i lost all my pages linked to the menu I had .
Thank you
===============Sorry I can't post answers:
Thanks every body for your ansewrs. In fact when i ckecked it again the probleme was in the url alias when the menu link point on a page which i made an alias it does not work it redirect me to an empty page
You'll want to use Drupal's built in Locale module and then Internationalization module. http://drupal.org/project/i18n
You must put an english page as a frontpage ;-) then the english menu will be launch!
a new menu english is made when you create english language. this menu is linked with a node with the language english... recreate the menu-links, you have no chois, it is the default with drupal ...
The solution was to enable the Multilingual support in the content types I had including the basic pages attched to my menu, and change the language of every single node I had, it's long but it did it,
Thank you all very much.