The tag has no usage guidance.

learn more… | top users | synonyms (1)

3
votes
1answer
49 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 ...
3
votes
0answers
16 views

Use override_load_textdomain for cache translation and improve performance

I have a multisite wordpress with multiple localized sites (es_ES, de_DE, it_IT). I want improve page speed by caching wordpress translation file. My code works (inspired by Tristan Darricau)! and ...
3
votes
0answers
834 views

custom theme: english .mo file not working

I'm having an issue with a .mo file. I have a fully functioning localized custom theme that's running in four languages for the moment: Dutch, English, French and Spanish. There is one problem: the ...
1
vote
0answers
198 views

Translation for the plugin using redux framework does not work

I am working on a commercial plugin and i integrated redux in it and use it as my option panel, i am almost done with the plugin, i started to translate the plugin but the translation does not work, i ...
1
vote
0answers
83 views

Theme elements not translating

Ive got a theme that is set-up for translating but didn't come with any translations. I used poedit to automatically detect the strings, and subsequently translated it in full. However certain ...
1
vote
0answers
76 views

Translation update successful but apparently not

I was updating my multi site installation just minutes ago to WordPress 4.0. The dashboard keeps notifying me, of an available translation update. I updated it as well and it gave me a success message....
1
vote
0answers
100 views

How to get menu strings, categories and tags into po file for translation

I'm prepping my theme for translation. I've added the following line to my functions.php, and added the text domain within my theme files. <?php /*** LOAD THEME TEXTDOMAIN ***/ ...
1
vote
0answers
357 views

Translating dynamic strings

In my form I have a dropdown. I'm getting the values and labels of the dropdown dynamically from SugarCRM via it's rest API. I would need to translate these strings. I tried to pass the dynamic ...
1
vote
0answers
55 views

translation does not work for 'Home'

Using the birdtips theme, translation of messages generally works, with some minor omissions. When I click on a page, a new line appears below the header image saying Home >> MyPage Now, "...
1
vote
0answers
195 views

Wordpress translation loading english file

I am trying to translate a wordpress site but whatever I do the english file is always loaded. In functions.php I've set load_theme_textdomain('twentyeleven', get_template_directory() . '/languages');...
1
vote
0answers
169 views

Partially translated dashboard in one of network's site

I have multisite WordPress installation with default language for all new sites set to English. For one of my sites I wanted to add support for different (Polish) language. I copied all Polish *.mo ...
1
vote
0answers
45 views

Inconsistent translation on a WP site

I have a WP site that I installed with the French translation, as provided by Wordpress France, and which is quite accurate. I wanted to apply an English-only theme, which is not using the PO files, ...
0
votes
0answers
17 views

Why is my theme not translated in the backend?

My function is: add_action('init', 'wan_load_textdomain'); function wan_load_textdomain() { load_theme_textdomain('mytheme', get_template_directory() . '/languages'); } This translates in the ...
0
votes
0answers
15 views

Swedish characters unreadable after each WP update

With each update of WordPress, my site title in Swedish becomes unreadable. I then have to go in Customizer, write the site title again, and everything becomes alright. Sure it's a small ...
0
votes
0answers
30 views

Theme doesn't load localization files

I create translation into Czech but I have a problem with setting up this language with the theme Blogon: I created translation. Then I copied the cs_CZ.po and the cs_CZ.mo files into to themes/...
0
votes
0answers
20 views

changing languages using locale

I am trying to build a plugin to make my website available in 2 languages. I found out about the 'locale' filter, but i had a lot of trouble trying to use it. Here is what I did. I know it might not ...
0
votes
0answers
20 views

Understanding Wordpress Default Theme - twentyfifteen.1.4 >> Languages Folder

Understanding Wordpress Default Theme - Twentyfifteen.1.4 is the standardized theme designed by the wordpress people. in the language folder there is a template. just like we have .php extension or ....
0
votes
0answers
17 views

Is it possible to create another instance of theme localization file?

I'm using a theme that has a French language pot file fr_FR.po. That file is missing some phrases. I want to add the missing phrases via another .po file (in a child theme/plugin). I don't want to ...
0
votes
0answers
14 views

translate_user_role doesn't work

I did dozens of tests, this is the code that I am tring to make work: $user = get_userdata($user_ID); /* WE NEED TO REMOVE BBP ROLES */ $roles = array(); global $wp_roles; foreach ($...
0
votes
0answers
24 views

Change WordPress frontend language on link/cookie

I want to change the frontend language of my WordPress (single installation, no multisite) based on either a link the user clicks or an already present cookie. So I got the following language check ...
0
votes
0answers
31 views

Is placing translation files in subdirectory in wp-content/languages folder valid?

Some of the plugin uses textdomain like just the language (eg en_GB.po, it_IT.po, tr_TR.po etc..). If i put these files directly into wp-content/languages/plugins/ directory then some files will be ...
0
votes
0answers
42 views

How to correctly translate custom posts url rewrites?

I've got a custom post type 'product'. I've just added the rewrite option: 'rewrite' => array('slug'=>__('products','jungle'),'with_front'=> false) Fine. But I want mydomain.com/products ...
0
votes
0answers
17 views

Load custom language(.mo) file after admin selection option on theme options

I have different .po and .mo file on theme's language folder, I want to give facility to the site admin to select language file which are on the language folder from theme options making drop down of ...
0
votes
0answers
38 views

I18n l10n of plugin does not show the translation

I tried to Internationalize I18n one of free plug-ins (after 7 hours of trial I decided to ask for help). But I'm not able to get translations displayed. What I did: inserted the definition of text ...
0
votes
0answers
143 views

Poedit ASCII errors ( Wordpress )

I am trying to translate a wordpress theme to Arabic and I am totally new to the translation field. I followed the steps in this question and I added a new domain to my theme instead of hard coding ...
0
votes
0answers
18 views

Translation for child theme

I built a child theme for adding ar translation, but I can't get it translated to Arabic. My functions.php: /** * Setup My Child Theme’s textdomain. * * Declare textdomain for this child theme. * ...
0
votes
0answers
24 views

Widget Title Translation

How would you translate this line in a widget? I can't seem to find a way to make it pass the theme check plugin: parent::__construct('recent-posts', __('Recent Posts'), $widget_ops); I have tried: ...
0
votes
0answers
33 views

WPML custom lenguage slug in permalink

With WPML tranlation plugin is possible to change language slug in permalink for something like this: change "mysite.com/en/" to "mysite.com/my-site-in-english/" change "mysite.com/es/" to "mysite....
0
votes
0answers
26 views

Is it possible to override a parent theme's translatable strings from within a child theme using a .mo file?

I have a theme that's properly setup for internationalization. I would like to override strings from the parent theme from within my child theme via a .mo file rather than copying over the template ...
0
votes
0answers
74 views

Can't change the language of theme

So I got rid of those errors before, now the last thing was to translate that Marvel theme for my wordpress site. Did it with poedit, grabbing the en_US translation from wp-content/themes/marvel/...
0
votes
0answers
15 views

Translating a specific part (form) of NUVO theme (possibly a plugin)

Friend of mine asked me to help with his website, he already bought nuvo theme. there is a form for placing reservations witch is in english (I think its a plugin or something). I found the strings ...
0
votes
0answers
17 views

How to use an existing localization in a new plugin?

Is there any possibility to use an existing localization? For example: My plugin adds ,,First name'' field to the registration form: <p> <label for="wp_first_name"><?php _e('First ...
0
votes
0answers
43 views

Forgot pasword: Where to translate landing page

On the process to get a new password you go like: 1- press "forgot password" 2- enter your username email 3- get an email in your inbox with a link to reset a pasword 4- the link goes to a page ...
0
votes
0answers
119 views

Localising AJAX strings: gettext fails to translate when called in admin-ajax

I'm trying to solve a problem very similar to this one on WPSE: gettext-does-not-translate-when-called-in-ajax but my functions are in custom a plugin, and the solution suggested there isn't working ...
0
votes
0answers
358 views

WordPress 4.2.2: WPLANG vs Locale?

I am about to create a second language for a WordPress theme, using external .po / .mo files for all small sentences like "read more", "category archive", etc. The structure with www.mysite.com/de/ ...
0
votes
0answers
36 views

How to redirect to its default language when erasing the text after .com/de?

I have a wordpress site with Avada Theme installed 3.7.1 with qTranslate-X plugin. What I'm trying to achieve here is that I want to redirect the site once I erase the text 'de' after www.site.com/de ...
0
votes
0answers
185 views

Custom theme .mo translation file not working

I have a custom .mo file named ne_NP uploaded in the languages directory. Nepali language is enabled with qTranslate and define('WPLANG', 'ne_NP'); is in wp-config.php as well. Yet the theme ...
0
votes
0answers
82 views

POEdit is not Translating My Theme

Try as I may, I can't get POEdit to work. I'm building a bespoke website for a client and they need it translating into Thai. I am using POEdit to generate the translations but it isn't working. ...
0
votes
0answers
43 views

WP internationalization not loaded

I have problem with loading internationalization in my admin page. For generating .po and .mo files I use Poedit. My plugin structure is simple: ├───plugins │ └───radni │ └───radni.php │ ...
0
votes
0answers
20 views

Plugins translation

I am trying to translate plugin which I made. The thing is, I don't want to translate other plugins, when language in my plugin is changed. I used add_filter('plugin_locale', 'switch_language', 10, ...
0
votes
0answers
66 views

Language & translation

I have purchased the SoCute WP theme and as default it's in English. I want it to be in Swedish, so I have made updates to the wp-config.php file: define('WPLANG', ’sv_SE’); and I have uploaded ...
0
votes
0answers
43 views

Tweak the loop for translation

I am building a custom solution that would be bilingual in English and French. I want to store the French content, title,... in custom metas by adding META BOXES to the edit screen. This part is fine, ...
0
votes
0answers
18 views

Translating images in Wordpress

I am new to Wordpress but am curious about the translation options. I know there are quite a few translation plugins that can convert the text of a blog to various languages. However, I would like to ...
0
votes
0answers
230 views

Translate custom taxonomy terms

I got one problem about translating taxonomy terms. Situation: I have multisite instalation with many sites in different languages. I am using broadcast plugin that broadcast some post types and ...
0
votes
0answers
221 views

Translating a theme without POT files

I am currently working on a Wordpress project that requires translations into multiple languages. I won't be doing the translations, the client will when I hand it over to them. I want it to be as ...
0
votes
0answers
54 views

Localize tinymce in WordPress 3.9?

Still stucked with this localization of tinymce. Find this resource here : codex. Does not seem to work anymore. How do you do this? Any help would be much appreciated.
0
votes
0answers
45 views

Language files in theme subfolder languages - translate files in theme subfolder js

How can I translate a string from a file in the theme subfolder "js" if the language files are in the theme subfolder "languages"? Regards, The_Hegemon
0
votes
0answers
39 views

How to internationalize the sub menu name “categories” in Custom post type?

I'm trying for translation. I made a plugin with custom post type everything is okay. Only one thing i can't able to translate which is categories sub menu menu in custom post type. $args = array( ...
0
votes
0answers
79 views

Wordpress NavXT plugin localization

My situation is as follows: 1) I am using wordpress 3.6.1, and I have the Breadcrumb NavXT plugin installed. 2) I have a custom theme, and the localization file is on the following path: ...
0
votes
0answers
225 views

Google Language Translator - Manage Translation

I installed Google Language Translator wordpress plugin. How can I manage it's translation (https://translate.google.com/manager/website). I can manage the translation if not using a plugin, but ...