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.
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?
I can't change language in the single post. I changed language in control panel, but this one element is still in english. Need help
For string translation you have two option.
If your site is not a multi-language site then you need to change the text directly where it.
if you site is multi-language then you can use the Loco translate plugin.
Note: there is also other ways are available but above are very easy
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 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.
I created a drupal website in English, now i want to add an Arabic version to this site. I have added and enabled the i18n modules and now i have language switch options in my content creation and editing page in the admin.I want to show different themes for English and Arabic(for example mytheme and mytheme-ar). But how can i set drupal to show themes according to the URL , for example to show mytheme-ar, when the URL is example.com/ar and to show mytheme when example.com.
Can anybody suggest a solution? I have tried setting a cookie and setting the theme from includes/theme.inc according to the cookie. But I think there will be a more direct solution for this.
Take a look at the ThemeKey module. It can change the theme determined by complex (or simple) rules you create.