1
vote
1answer
31 views

How WordPress is able to change locale without using setlocale

In my plugin I print out the current locales via $originalLocales = explode(";", setlocale(LC_ALL, 0)); var_export($originalLocales);die; Obviously the result is same as the WPLANGdefined. ...
0
votes
2answers
77 views

Changing interface language without multisite

I want to change the Theme's interface language without making multisite by passing langauage parameter into the URL. <a href="<?php echo home_url('/')?lang=bn ?>">Bengali</a> My ...
0
votes
1answer
30 views

how to have __() translating in languages different from admin?

I use native wordpress multisite for languages (it, en, fr, de, es). I need not to use a plugin. Still, all the admin dashboards will be in italian, because editors are all italian people. I know ...
0
votes
2answers
37 views

Create a category in different language?

Let's say my website in English, and I created a Spanish category which I want it to be Spanish language, it and it's child posts. How can I achieve this?
0
votes
1answer
193 views

Translate a theme with a PO file

I'm new to WordPress. two weeks ago I downloaded a theme for my Arabic language blog, and the theme is scripted in English but it contains a folder called languages/ and inside it has two files one is ...
-1
votes
1answer
33 views

WordPress and Localization

I know that WordPress supports multiple languages - You can read more details here http://codex.wordpress.org/WordPress_in_Your_Language My question is, what is the difference in a localized version ...
0
votes
1answer
82 views

Having problem in using wordpress with an other language

I am using Persian Wordpress but I have a problem. when I want to publish a new post in Persian , I get all Persian letters alternated with question mark -"?" -. My wp-config.php file set the ...
0
votes
1answer
133 views

Multi language site using only .mo and WPLANG

Hello world/ Bonjour le monde, What technical limitations exist that would prevent the following from working (assume all static content with translations made in .mo file) Pseudo code: For every ...
0
votes
1answer
148 views

WordPress Translation to french, at -> à not working

I have a german / french blog. I installed the german WordPress version, so I already had de_DE.mo and de_DE.po in wp-content/languages. After I realized that the content of a comment's ...
1
vote
2answers
107 views

Two language versions for each article

I have a Wordpress website that needs to be available in two different languages. We have the articles written in both languages already. I've seen a lot of solutions providing automatic ...
0
votes
2answers
188 views

Where to modify translation files by _e()

I am in a rush right now and can't seem to find the answer i"m looking for. I have a wordpress website that has english and french versions. I see it is using Multi site language switcher to flip ...
1
vote
1answer
549 views

Multisite WPLANG won't save

I have a multisite workpress install (v 3.3.2). I'm trying to save the WPLANG field but nothing happens. I get the confirmation message "Site options updated", but the field is still blank. And ...
1
vote
1answer
914 views

Why load_textdomain work but not load_plugin_textdomain?

In my plugin's init function load_textdomain( 'myplugin', ABS_PATH_TO_MO_FILE ); // OK load_plugin_textdomain( 'myplugin', false, ABS_PATH_TO_LANGS_DIR); // No effect echo( __('Test', ...
5
votes
3answers
552 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 ...