Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [multi-language]

WordPress does not support a bilingual or multilingual blog out-of-the-box. There are however Plugins developed by the WordPress community which will allow you to create a multilingual blog easily. Creating a mulitlingual blog is basically installing WordPress in more than one language and letting the Plugin switch between them. This includes installing .mo languages files which most Plugins will require you to do manually.

Filter by
Sorted by
Tagged with
11 votes
1 answer
6k views

Setting WPLANG from a plugin

For a single site wordpress, the language must be set from wp-config.php's WPLANG, but is it possible to set from my plugin which override the default value?
Howard's user avatar
  • 113
18 votes
2 answers
6k views

Best practices for localizing WordPress content?

A client asked for a blog that will have localized content (i.e. en.blogname.com for English content, fr.blogname.com for French content, etc). Being new to building such a blog, we recently ...
Mike Lee's user avatar
  • 851
12 votes
3 answers
7k views

How to get a translated string from a language other than the current one?

I was wandering... All the translation functions (__(), _e(), _x() and so on) use the current/active language. Is there a way to get a translation from another language than the current one? For ...
Luca Reghellin's user avatar
10 votes
1 answer
5k views

Rewrite Rule for Multilingual Website, Like qTranslate?

I would like to write my own little plugin for language switching. For that, the very first thing would be to get the rewrite rules running. I have been looking around the web for 2 hours, but I ...
rassoh's user avatar
  • 586
9 votes
7 answers
4k views

What are options are there to implement a multi language site

What is the best way to have multiple languages on a site? I was thinking of using WP3.0 and then having each language of the site being a seperate blog in a sub directory. I.E. example.com ...
Paul Sheldrake's user avatar
9 votes
1 answer
3k views

Change admin language based on user (in single-site)

I'm trying to make a small plugin to install in some sites of a german client. I can make my way around WordPress in german, but would be easier if it was in english. There's a plugin that manages ...
brasofilo's user avatar
  • 22.1k
3 votes
2 answers
14k views

detect the language a post is written in

Is there any way to evaluate the language a post/page is written in? I am building a multilingual site and am almost pulling my hair out trying to get the front-end navigation to take the chosen ...
tembamazingi's user avatar
22 votes
3 answers
14k views

Change language by clicking a button

The goal is to offer a button/select drop-down or similar to switch the public interface1) language on the fly. What I'm searching for Plugin or Theme Code... ... or Ideas Using a work-around with ...
kaiser's user avatar
  • 50.6k
9 votes
4 answers
5k views

Localization: I want the backend: english and frontend in defined language

I'd like to have the backend of Wordpress in English and use a different locale for the frontend so far I figure out perhaps I could do it by setting in the wpconfig the locale I want to use in the ...
unfulvio's user avatar
  • 1,814
6 votes
3 answers
10k views

How do I change the language of only the login page?

My wordpress blog is set up as de_DE. This means that my login page is also displayed in de_DE. I would like to only have the login page in en_US. So, How would I programmatically change a single ...
hitautodestruct's user avatar
5 votes
4 answers
12k views

Changing the language of a single page

I have a wordpress site in a language that aligns RTL, but some pages are in English. These pages look terrible, however, because the English text is aligned with the RTL language, and punctuation, ...
Null_Error's user avatar
5 votes
1 answer
4k views

Set language per post

I have a bi-lingual blog with English as the main language and Arabic. Currently I use the post "Custom Field" to indicate that the post is Arabic and I use that in my child theme to change the ...
Fahad Alduraibi's user avatar
2 votes
2 answers
4k views

How can I set up multi language admin ui?

I will have two admin users, one of them only speaking italian and the other only speaks english. How can I setup multi-language admin user interface?
gyurisc's user avatar
  • 143
1 vote
1 answer
919 views

Translations does not work with .pot file

I've created a theme at underscores.me and it seems it is multi-language ready. There is a .pot file in the language folder, so I downloaded POEdit and translated the things in there (like Posted on, ...
Hans Ullrich's user avatar
9 votes
3 answers
15k views

How to set back-end language per user?

I would like to use the english interface for the back-end but I would like to set it to native language for an editor. I know WPML has this feature, but I don't want to install the unsupported WPML ...
hyperknot's user avatar
  • 327
9 votes
1 answer
27k views

qTranslate get content by language [closed]

How do you get the content by id and by specific language? I need to display two specific language content in a page, regardless of the session's language. So far, this is my progress: this works ...
user1348490's user avatar
7 votes
2 answers
9k views

why is translation not working on theme?

Background I am using the theme Rookie from Sportpress. I created a child theme. Translation files are existing, especially german in my case. Wordpress is set to german language. The Problem ...
André Kelling's user avatar
7 votes
2 answers
2k views

Multilingual WordPress plugins [closed]

I've been using WPML to have multilanguage capabilities in my WordPress implementations. Now WPML has gone commercial, and I'm looking for a open source non-commercial replacement. My main concerns ...
MZAweb's user avatar
  • 1,338
3 votes
2 answers
3k views

Multisite - how to remove the root '/' site?

I want to install WP in 3 languages: en, ro, ru mysite.com/en mysite.com/ro mysite.com/ru I was not sure, but installed WP in the root folder. Now I need to redirect visitors to default language. ...
serhio's user avatar
  • 315
3 votes
5 answers
16k views

Add code into <head> on a per page/post basis

Is there plugin (or an easyish way) to add code to the <head> section on a per page/post basis? I have a multilingual website and I need to implement the rel="alternate" hreflang markup, so ...
moobot's user avatar
  • 148
3 votes
1 answer
2k views

Make a custom theme translate-ready

I created a my own theme, now I wish to make it translatable. I made two files: theme.pot msgid "know_more" msgstr "Vuoi saperne di più?" it_IT.po msgid "know_more" msgstr "Vuoi saperne di più?" ...
WalterV's user avatar
  • 197
2 votes
1 answer
7k views

Custom Meta Field not Working with qTranslate [closed]

I am running the newest WordPress and qTranslate. I have made a page that enables some custom fields that are working ok. qTranslate enables languages like tabs when editing a page. But this doesn'...
Ronnie Jespersen's user avatar
2 votes
2 answers
430 views

Separate backend "Widgets" page for each language

Im currently trying to make my backend work with multiple languages. Im using qTranslate as my translation plugin. So far I have accomplished a custom option page with multi-language support. When ...
Tom Siwik's user avatar
  • 135
2 votes
1 answer
6k views

How to change menu according to the language?

I want to change primary menu according to the language of the user. I have reviewed multi language plugins such as WPML and qTranslate. They have lots of features but what I want is much simpler than ...
Mert Nuhoglu's user avatar
2 votes
1 answer
285 views

Should multi-language site using multi-site architecture have default language in base site?

I am setting up a multi-language site using wordpress multi-site and wanted some feedback on the best approach/best practice. I will have the following languages: en, sa, de, ru. en is default. ...
Manas's user avatar
  • 123
2 votes
1 answer
3k views

Multilingual theme: Changing locale based on URL

I'm developing a multilangual theme. I use the __() function for translation, which works just fine. The main language is English, but the second language is German. For that second language, I'd like ...
lupor's user avatar
  • 58
0 votes
2 answers
3k views

How to change language file used by _e function

I am trying to make my own language switcher for my WordPress site. I am generating all labels using the _e and similar functions. So I am guessing the only thing I need to do is to change the locale ...
samurdhilbk's user avatar
0 votes
1 answer
630 views

Put an extra check box on "Page Attributes" widget

that will add lang="ur" attribute in page's main <body> tag. How I can do that? I try different plugin including polylang, but look not working. Please suggest plugin if you know or do some ...
John Doe's user avatar
  • 105
0 votes
1 answer
354 views

Trigger language change in Wordpress

I have read this: http://blog-en.icanlocalize.com/installing-wordpress-for-multiple-language-blogs/how-to-localize-wordpress-themes-and-plugins-with-gettext/ Right now, I have qTranslate installed ...
wenbert's user avatar
  • 133