The tag has no usage guidance.

learn more… | top users | synonyms (1)

1
vote
2answers
316 views

Translation not working after editing plugin template

I'm building a website with Wordpress and I'm using the plugin Event Organiser. I changed the config file of Wordpress to use the nl_NL (Dutch) language. This all works fine, even for the plugin, ...
0
votes
2answers
204 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, WP_PLUGIN_DIR.'/...
3
votes
1answer
60 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 ...
1
vote
1answer
485 views

Easy export/import of data for Translation

We have several WordPress sites that we're going to get translated, however after some research this doesn't seem like an easy task. Preferred scenario 1) Ability to export all strings from themes, ...
1
vote
1answer
86 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: ...
1
vote
1answer
549 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
6 views

WPML admin texts with serialized objects

I have been trying to get a plugin to work with WPML - I'm almost there but I'm wondering if anyone knows if it's possible to get WPML's admin texts (wpml-config.xml) to read serialized objects stored ...
0
votes
1answer
15 views

Plugin localization persistance (woocommerce)

I am having an issue with a WooCommerce translation being overwritten. What I've tried so far: moving my woocommerce-de_DE.po/mo files to wp-content/languages/plugins/ blocking translation auto-...
0
votes
1answer
16 views

Any way to permanently translate themes?

For the reason beyond my imagination Wordpress never had chance to get real theme updater (i.e. the one that would actually update only changed files) and instead offers a-joke-called-updater, that ...
0
votes
1answer
67 views

Translate a child theme with pure PHP and gettext

I'm trying to translate a child theme of a parent theme that has all msgstr empty. Therefore, I've created the file de_DE.mo using the "WordPress i18n tools" recommended in the docs together with ...
0
votes
1answer
63 views

Proper way to use esc_html__ and esc_attr__ etc for escaping value for translation

From the articles on Codex, esc_attr_e is proper way to escaping value for translation. But from other articles, I read about sanitizing issue and security issue for some escaping code. For my code, I ...
0
votes
1answer
39 views

How to syntax Json output for translation?

Example I have this outputting decoded JSON $data and want to make contents translateable in wordpress. <?php echo $data['hair']['type'] )?> So in english this would output "Brown hair", but ...
0
votes
1answer
36 views

Localize strings from db

I'm using this method to translate strings in my template. The question is, what if some strings are dynamically loaded from the db? How can i translate them? I've been googling for days and even ...
0
votes
1answer
46 views

Issue with strtotime() and Meta Box date

Shouldn't this code display the date provided from the META BOX date picker input field according to the language chosen? Explanation: The Meta Box value that is coming in though rwmb_meta() is ...
0
votes
1answer
40 views

Multi Site Translate Strings

I've finally made it to setup a multisite. http://www.jeroenbrugman.com/ Now. There are some things I need to change. Like the button on the contact page. It says "Stuur bericht" on both my sites. ...
0
votes
1answer
40 views

Force translated language on front

I'm facing a really simple issue : We made a theme for a multisite wordpress (see here : http://www.agence-malttt.fr/) and translated it with Loco Translate for French. It's still showing English ...
0
votes
1answer
77 views

When translating not all string are present in POedit

I've bought a theme few days back, i switched to the Slovak localization. Some of the strings were incorrect so i decided to fix them in poedit (never done that before) Most of the strings were ...
0
votes
1answer
103 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
1answer
44 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)?
0
votes
1answer
67 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
74 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', _n(...
0
votes
1answer
120 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
548 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
0
votes
1answer
47 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?
0
votes
1answer
386 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
1answer
158 views

Two text domains in one plugin

From start: A = main plugin(the library), B = child plugin I develop a plugin B that will depend on another plugin A in order to work properly. I do this because I'm one of the persons who don't ...
0
votes
1answer
79 views

GlotPress - WordPress integration

http://translate.wordpress.org/projects using same header & footer with wordpress.org main site and their login system works together too.. How can i do that? (P.S: Any other GlotPress & ...
0
votes
1answer
60 views

White Space on translated strings lost

This is really crazy – I've done it before but now the whitespaces in placeholders in my translation strings are lost. For example this is translation of my pot: This entry was posted in %1$s and ...
0
votes
1answer
167 views

Translating form labels shortcode output

I'm using MyMail plugin to manage my newsletter. I'm also using WPML to manage translations, there is no compatibility between the two plugins. The subscription form, is placed in the footer area, ...
0
votes
1answer
393 views

load_textdomain won't load my .mo file

I am using Yoast'method to build an html site map. But it needs to be translated. It uses a page template page-sitemap.php that uses a template part <?php get_template_part('/partials/sitemap'); ...
0
votes
1answer
350 views

Set parent theme language with custom .mo files

I am using Buttercream as my parent theme. I have translated the .mo file located in themes\buttercream\languages and saved it as nl_NL.mo and nl_NL.po. Now I want to display the parent theme in Dutch ...
0
votes
1answer
71 views

Archive widget numbers translation?

I've translated my theme successfully. Yet, there are some part that I couldn't find out how to translate them. I've done a tutorial to Translate or convert WordPress date/time/comment number into my ...
-3
votes
1answer
101 views

Error in theme check “ Found a translation function…”

I have used underscores to create a unique theme. I am getting theme errors (as identified by the WP Theme Check plugin) as follows: WARNING: Found a translation function that is missing a text-...
-4
votes
0answers
14 views

Which community translations plugins/options do you recommend?

I am running a Positive News website - www.thepositiv.com, and I am looking deeply and carefully now for the change I need, in order to make my website multilingual, all my posts translated and the ...