The tag has no usage guidance.

learn more… | top users | synonyms (1)

0
votes
1answer
11 views

Plugin has no US english translation file

I'm trying to modify English translations for a The Events Calendar plugin but I'm not able to find the US English translation file. There is only British English. Please have a look: Can it be ...
0
votes
1answer
15 views

What would cause the gettext filter to not work for a given text domain?

Inside of a plugin, I'm using the gettext filter to alter strings of a theme so that I don't have to copy the template files over to a child theme and edit them. Also, this isn't always possible since ...
0
votes
0answers
12 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
12 views

Show translated and original string next to each other [closed]

I believe there is a simple plugin that shows both original and translated string in front end to help translators to translate theme/plugin strings. I have used it before but now I don't remember the ...
0
votes
1answer
16 views

How can I see my theme's text domain?

Where can I discover my current theme's text domain for use with translation (GetText)?
2
votes
1answer
22 views

Adding a text domain to every __(), _e() and __n() gettext call without a plan to create own translations

Is it good to add a text domain as an argument to every __(), _e() and __n() gettext call such like these, even though I'm not planing to create my own translations? __( 'Post', 'my-theme' ); _e( ...
0
votes
1answer
35 views

Use WordPress default text domain for translating labels

I am wondering if there is a way to use the "default" text domain ("WordPress" or "default") to translate labels. E.g I have following code: // Register Custom Taxonomy function custom_taxonomy() { ...
0
votes
0answers
27 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 ...
0
votes
0answers
11 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
15 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
16 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
1answer
35 views

Wordpress Theme .mo-file won't load

I am developing a theme that implements multiple languages. I have a few strings that will have to be translated in the theme itself. I would like to use a .po and .mo file. For some reason, when I ...
0
votes
0answers
34 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 ...
3
votes
2answers
108 views

What are the most used WordPress localization?

I wonder, what languages are most used in WordPress? I want to translate my plugins to these languages and can't find what they are. Are there an official statistics somewhere? Thank you!
1
vote
1answer
29 views

Should shorcodes in i18n plugins be translated and if so, how?

Internationalizing a plugin with half a dozen shortcodes like: function plugin_show_schedule( $atts, ) { extract( shortcode_atts( array( 'type' => __('week', 'mz-mindbody-api') ...
0
votes
0answers
72 views

Polylang string translation

I have a problem with the string translation, using a custom theme. In functions.php I added this: $products='מוצרים'; pll_register_string('מוצרים', $products,'controtec'); When I put ...
0
votes
0answers
191 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/ ...
1
vote
1answer
35 views

WordPress po files

Hi all I have one problem. Po file doesn't work. I use qtransltae-x for translation. And I create custom pot file example # Copyright (C) 2015 Gawatt msgid "" msgstr "" "Project-Id-Version: Gawatt ...
0
votes
0answers
22 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
39 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
22 views

Making a string translation ready (with some html in it) [duplicate]

A simple text string is made translation ready as: _e('Simple string','textdomain'); But how to make the string translation ready with some html in it, eg: simple string with a <a ...
0
votes
1answer
41 views

Return Value of load_plugin_textdomain

Good Day, I'm trying to translate my plugin but it doesn't seems to work. I read that I should check the return value of "load_plugin_textdomain" to see if it's false (meaning it doesn't find my ...
0
votes
0answers
34 views

Translation in Core , Plugin and Theme Update

I'm curious about translations in update transient for Core , Plugin and Theme updates. I got this from _site_transient_update_core in wp_option table in this why translations array is always empty? ...
0
votes
0answers
60 views

customize theme's iLightbox shortcode

I am using the Themeco X theme and it comes prepackaged with the iLightbox. I want to customize the X shortcode to utilize iLightbox variables that are not 'included'. Themeco says that "1. You can ...
1
vote
1answer
45 views

translating wordpress with poedit

im trying to translate twenty ten based child theme, I have modifided the single-loop.php with a custom snippet, that shows next and previous arrows... my issue is that this string (next and ...
4
votes
1answer
54 views

Override default WordPress core translation

WordPress is set to Dutch language. When I use get_the_archive_title() my theme correctly outputs "Categorie: Category-name" on a category archive page. However I'd like that to read "Sectie: ...
0
votes
0answers
8 views

Translate string to a other language than default or choosen one

How can I translate a string to a choosen language other than the default or the set language of the wordpress instance. For example I have german set as the default language, but I need a text ...
0
votes
0answers
23 views

Blank strings in localization .po files?

I was looking through Jetpack, Nextgen, and Wordpress plugins to get some examples of using localization. Oddly enough it seems quite common to have blank strings in some cases. For example, in ...
4
votes
2answers
374 views

Override parent theme translation on child theme

I have a parent theme that uses correctly load_theme_textdomain() to load all the translated strings in many languages. Then I created a child theme that uses load_child_theme_textdomain() to achieve ...
0
votes
0answers
170 views

WPML - Get translated custom post ID

I'm trying to use WPML function icl_object_id() to get the translated post ID, without any success. I used the same process to get pages IDs and it works. My custom post type is menu. ID of ...
0
votes
0answers
8 views

How to translate .POT files?

How can I translate .POT file, It is an empty file so, I have to import strings, How can I do so? I use POEdit.
0
votes
1answer
38 views

Plugin translation not displaying

I have written a plugin to be translation-ready, and I have written a translation. As far as I can tell, the .mo files for the translation are loading correctly, yet the plugin is still displaying ...
0
votes
1answer
23 views

Best location for theme translation files

I usually store language files in /languages folder that is located in theme folder and it's also recommended location by WordPress as well. However, it still doesn't look like the best solution ...
1
vote
0answers
70 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 ...
0
votes
0answers
31 views

content export for external translation

does anyone know if there's a way for exporting the content of a blog to csv,xml,xliff so an external translator can translate it and then import that content back to wordpress? I've used WPML and ...
0
votes
0answers
28 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
78 views

How can I force-load a plugin's translation files from wp-content/languages?

I'm trying to change instances of the word "blog" to "site" for the plugin bp-groupblog. I've copied the .pot file to a .po file, successfully translated all the necessary strings, and successfully ...
0
votes
1answer
38 views

Adding theme strings to .PO file

I'm trying to translate some strings in a WP theme I'm using, but apparently there are some differences in the PHP code. Here's an example: <?php echo apply_filters( 'jobboard_job_posted_text', ...
0
votes
1answer
15 views

WordPress Translations

I've just recently learned about .po and .mo files in WordPress Themes. My question is, are these files supposed to be used to translate page and post content or just the WordPress backend along with ...
0
votes
0answers
23 views

Fixed values for same post translations

I was recently implementing a custom post type in WordPress, and added WPML so I could translate it's title & content. This post type (city) also has some custom metaboxes (metabox.io) like: ...
0
votes
0answers
39 views

Extract all strings in web site to send to translator

I need to extract all translatable data from wordpress to PO files in order to send it to a translation agency. Of course, I also need a mechanism for putting the translated text back, and extracting ...
0
votes
0answers
25 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 │ ...
1
vote
1answer
68 views

Translating publish dates to Arabic

I need to translate post publish dates from English to Arabic. I uploaded the po file from this link, using WPML string translation: http://wpcentral.io/internationalization/ar/ The .po file has ...
0
votes
0answers
64 views

Translate in wp-login.php page

I'm trying to add a form for the user to register, to choose a role that can edit pages. The code I used is as follows: <?php function my_register_form() { global $wp_roles; ?> <p> ...
0
votes
2answers
108 views

Override translation of 1 word

A few words in the WP Job Manager weren't translated yet. I edited most of them in de po file now but for the sentence "posted 5 hours ago" I can't find where to translate the "Hours" It's declared ...
0
votes
2answers
74 views

Adding a translation phrase to Wordpress Theme

I'm creating a custom Wordpress theme and I'm using exactly 3 phrases that I need to be translated according to the site language selected. I've digged a little bit through the Internet, but couldn't ...
1
vote
0answers
57 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
1answer
26 views

Prepare plugin options for multi-lingual support

I'm looking for a way to make my plugin's options available/translatable across a multi-lingual site. For example, several of my options are text strings that are then used on the front end. echo ...
0
votes
1answer
67 views

How can I translate a plugin's text?

I'd like to change some translatable text of a plugin I'm using, Buddypress Group Email Subscription. The text is: No Email (users will read this group on the web - good for any group - the default), ...
0
votes
1answer
154 views

How to translate menu items?

is there i way for menu to be translated when i choose website language? Can it be done without using a plugin? Does anyone have a solution to do it withot using the plugin? Thanks in advance