The translation tag has no wiki summary.
10
votes
2answers
768 views
pass object/JSON to wp_localize_script
I've got a working piece of javascript that contains an object literal.
But I need to localize it, and I'm ytrying to figure out how to rewrite it so that I can get wp_localize_script() to accet it, ...
4
votes
2answers
1k views
How-to: Translate plural forms for themes/plugins with PoEdit
As the title says: How would you translate...
_n()
_n_noop()
_nc()
_nx()
_nx_noop()
...in your .mo files?
3
votes
1answer
110 views
What is the purpose of an extra file for translation?
What code is required to put in functions.php in order to make the theme translation ready?
The TwentyEleven theme has only following line:
load_theme_textdomain( 'twentyeleven', ...
14
votes
3answers
2k 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 ...
3
votes
2answers
276 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 ...
3
votes
4answers
1k views
How to translate a plugin via .po .mo?
I want to translate this plugin. This plugin already has translations to some languages, and it has .pot file for adding new languages (as far as I understood from description). Although I never had ...
2
votes
2answers
104 views
List of Default Translated Phrases
With <?php _e('Save Changes') ?>, I know the phrase, "Save Changes" can be translated automatically if the user's locale is set to a different language. I'd like to know if there is a list of ...
0
votes
1answer
75 views
Translate wordpress plugin
Below is a small tutorial of translation from English To German. (You can change the it as your needs).
in any plugin file, it has unique name in its header.
/*
Plugin Name: SampleTut
.......
*/
...
3
votes
1answer
538 views
How to make a WordPress plugin translation ready?
What is the best way create a plugin that is translation ready?
It doesn't have to be translated from the beginning but it has to be easily translatable so fellow developers from different cultures ...
3
votes
1answer
412 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?
0
votes
3answers
3k views
Different Language for Frontend and Backend
I use a English WordPress package and this is very well. Now, I would like to translate some elements of the blog (like "posted on", "comments") etc, but do leave the dashboard interface intact in ...
4
votes
1answer
86 views
Obtain a list of available translations
In answering this question: Change language by clicking a button. It was necessary to obtain a list of languages for which translations were available (i.e. their po/mo files were present in ...
0
votes
1answer
1k views
Translate widget titles using qTranslate plugin
I'm actually using the qTranslate plugin to translate my website. It works really well with everything except one thing. the titles of my sidebar widgets.
Actually, to translate some words we need to ...
3
votes
1answer
162 views
what's different between _x() and _()
What's different between _x() and _(). For example: if a1 can translate as:
a1 has meaning x1;
a1 has meaning x2;
How _x() function to get value x1 or x2?
2
votes
1answer
876 views
Translate Navigation Menu & Sidebar Widget Titles
Is there any plugin to translate navigation menu & sidebar widget titles ?
2
votes
1answer
371 views
Change language of comments template
I have a Wordpress installation in italian, I need to keep italian for the admin section but the frontend needs to be in english. The theme is custom so that's ok, but in single posts I'm using ...
0
votes
1answer
352 views
Translated my theme (translation not showing up)
I read a lot about what is the optimal to translate your website (french and english in my case)
I set up a Multi site where I created two site one french mywebsite.com/fr and one in english ...
0
votes
2answers
453 views
Wordpress translator plugin: Google Webmaster's Tools shows hundreds of 404 not found errors. How to clean the mess?
I had Global Translator Wordpress plugin. It littered Google Search index with thousands of translated urls. Couple of months ago I removed the plugin and also the cached pages on the server.
But ...
0
votes
3answers
91 views
Should we localize custom-made themes / plugins?
Does anyone know how much do the localization functions from WordPress affect the speed of a website?
Do you think it's worth replacing all strings with gettext inside a theme, even if it will only ...
