The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
1answer
16 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() { ...
3
votes
2answers
420 views

What is the purpose of adding a .po file?

I added the below code to the function.php of a .po file and finished localization and edited the webconfig.php to add Arabic language but nothing happened. I want to know what should happen. Will the ...
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 ...
1
vote
2answers
433 views

Transfer from English page to Arabic page

I have a button at the top of the website in header.php. That button should transfer me to the Arabic version of the page if I am on an English page. For example, on contact.html the button should ...
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 ...
10
votes
6answers
6k views

How to create .pot files with POedit?

I've spent hours today on what seemed like something really simple, which is to create a .pot file for a Wordpress theme that I'm creating. I've read the Smashing Magazine article, the Tutsplus ...
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 ...
1
vote
1answer
413 views

Force Plugin to English Translation

Here's my thing: I'm using a plugin that has multilang capabilities. The point is that the language translation in my country lang is very bad and it makes more complex than simpler my work. :D. So ...
0
votes
1answer
571 views

How to change category translation in Polylang afterwards

If I translate Tag or Category with Polylang-plugin (http://wordpress.org/plugins/polylang/ ) in Wordpress, how can I change the translation afterwards or remove the translation without removing ...
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!
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 ...
1
vote
1answer
28 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 ...
3
votes
2answers
214 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
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 ...
0
votes
2answers
3k views

Where is the right .mo file inside the language repository?

I need to translate my Wordpress in Italian. Following the instruction written on WordPress in Your Language, I've searched my .mo file inside the Language Repository but I've some problems. The ...
0
votes
0answers
123 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 ...
2
votes
3answers
6k views

Help with “text domain”, comments_form in WordPress theme

I've been plugging away at creating my own theme and am pretty much there, but ran the Theme Check plugin and had a few concerns/questions: Throughout the theme, wherever there is text, I've used ...
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 ...
2
votes
1answer
9k views

Custom strings for translation using Polylang plugin

I'm using WP 3.5 and Polylang 0.9.8 plugin to make translations to different languages. All is good, and the plugin works fine, but now I'm facing a problem -- I need to translate custom strings, for ...
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 ...
2
votes
2answers
2k views

How to add qtranslate multi language support for media?

The multi language plugin qtranslate works for custom post types but there is no capability to translate media information like title, description, captions for images. I am using the following code ...
6
votes
5answers
7k views

Theme localization of “slugs” (custom post types, taxonomies)

in my theme I want to define a series of custom post types and custom taxonomies, each one having its own customized slug; the base language of my theme is english, therefore the slugs will be in ...
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
1answer
193 views

Where do I find (free) fully-internationalized themes? [closed]

I'm trying to find a theme which is fully internationalized. I've perused the list of translation-ready themes in the theme gallery, but each one seems to be missing some little detail here and there. ...