The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
0answers
16 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
14 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
13 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
27 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
29 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
107 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
27 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
41 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
152 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
32 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
20 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
32 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
37 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
32 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
46 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
43 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
47 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 ...
3
votes
2answers
212 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
120 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
32 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 ...
0
votes
0answers
60 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
27 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
23 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
65 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
35 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
36 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
64 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
61 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
96 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
68 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
54 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
64 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
125 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
3
votes
2answers
252 views

Filter translations (gettext strings) on specific admin pages

I'm trying to do a string replacement using gettext filter (source): function theme_change_comments_label( $translated_text, $untranslated_text, $domain ) { if( stripos( $untranslated_text, ...
0
votes
2answers
143 views

WordPress not loading .mo via load_plugin_textdomain (Wordpress 3.9.3 and qtranslate Plus2.7.2)

Not sure why I have .mo installed it to wp-content/plugins/si-contact-form/si-contact-form-zh_TW.mo (Fast Secure Contact plugin) but load_plugin_textdomain('si-contact-form', false, ...
5
votes
1answer
60 views

How to handle text with function __(?

At the moment i am translating a WP theme with the __( and _e( functions and poedit. Now for words and sentences it works ok, but i don't know what to do with 'hardcoded' body text in the theme? Can ...
0
votes
1answer
169 views

Trying to localize a Underscores starter theme [duplicate]

I finished translating the .pot file(larehev.pot) and created a .mo file(larehev_he.mo) with my translation and i can't make it to work on my theme. in functions.php there is a setup function and i ...
0
votes
2answers
83 views

How to use esc_attr__ with custom translation function?

I just made a built-in translation function to help users to translate their theme from theme options. Usually my functions works great as follow: <?php _e( 'No Comments', 'mytextdomain' ); ?> ...
0
votes
1answer
81 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, ...
0
votes
1answer
126 views

Programmatically choose language for translation

I have a multilanguage website (to do it I use both Polylang and Loco Translate). My problem is that I want to send an email to our users, but I don't know in which language to send it until I ...