The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
0answers
12 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
25 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 ...
2
votes
1answer
18 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
6 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
9 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
46 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
25 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
27 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
20 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
26 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
19 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
16 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
38 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
27 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
12 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
18 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
21 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
23 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
39 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
45 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
66 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
54 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
43 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
23 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
53 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
39 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
2
votes
2answers
150 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
109 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
57 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
84 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
50 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
62 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
72 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 ...
0
votes
1answer
66 views

How to translate wordpress backend to another language

Is there any way to translate wordpress entire backend to another language that is not supported yet. ? I mean, my language is Sinhala (Sri Lanka) and sinhala is not yet included by default on ...
1
vote
1answer
19 views

_e() function get text_string from function

Can I print the text sring to be translated from a function for example _e('echo text_function();', 'my_theme');
0
votes
0answers
14 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
1answer
50 views

Does WPML translate numbers automatically, or do I have to do the string translation? [closed]

I'm developing my site in English, and when I'm done, I'll be turning it into Arabic. I'm using a function and wondering whether I should wrap it into a gettext call for WPML to get or just leave it ...
0
votes
1answer
21 views

Translate Plugin with french as base language

I have a plugin with french strings, e.g: __('Ordinateur', $this->plugin_slug), Is there a way to let WordPress know that the base language is french?
1
vote
1answer
50 views

How to add extra language packs to WordPress

I've got a multisite which I installed in Dutch. Therefore English and Dutch are available in the general settings tab. But I need to add German and French. I can't select any other language from the ...
0
votes
1answer
34 views

Wordpress translation

I'd like to translate one word in WP but I don't want to replace the whole translation files (.mo and .po) because of only one word (it will be overriden with the next WP version and I'll have to ...
0
votes
0answers
15 views

Support for new language packs in WordPress 4.0

WordPress 4.0 added a new language pack system. Is there a guide or api documentation or an article about this that you are suggesting to read? I only found translations_api in codex.
0
votes
1answer
173 views

Error on update translation

I installed a fresh version of WordPress in my current language (pt_BR) on localhost (WAMP). After log in, WordPress told me that exist an translation update. I clicked to update and the following ...
0
votes
2answers
46 views

Translating my custom theme, always translated version?

I have a custom theme which is in Dutch and now i am trying to translate the theme into english. For this i am using poedit, and converted some theme strings into _e('string-is-here') I save both ...
0
votes
2answers
86 views

WordPress Translation Issue

I tried to change text using the below code function ctxtlearn_gettext( $ctxttranslation, $ctxttext ) { $ctxttrans = array_values(changeTxt_setting('trans',true)); $ctxtdirty = false; ...
0
votes
0answers
12 views

Translation of theme using PO files [duplicate]

We are currently building a site that needs to handle multiple languages. We are doing this using PO files. My question is, for the front-end user we will provide a language change facility. How do I ...
0
votes
0answers
24 views

Poedit not able to create a catalogue

I'm trying to translate my plugin using poedit. I have following code in main plugin file: <?php /* Plugin Name: FixFormData Description: If you want to autocomplete a form with ...
1
vote
0answers
50 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 ...
0
votes
1answer
54 views

translate the_title() with .po & .mo

i need to translate the_title(). I am using code: <?php _e(the_title()); ?> but not working ... any ideas ?
1
vote
1answer
240 views

Display 1 Post per taxonomy with polylang

I am trying to make a loop where I display all my taxonomies with the first post of every taxonomy. It's the taxonomy "customers" and I want to display every first portfolio-CPT of the customer. I ...