1
vote
1answer
20 views

Read text defined under __()

I am new to WP Plugin development. I have a theme where texts are included inside __() function for translations, like: __('This is text to be translated'); I want to create a plugin which would ...
0
votes
2answers
14 views

Using wordpress translations strings in plugin

right now I'm building a helper plugin to make it easier for me to do simple tasks, such as registering post types. When doing this, i'd like to use some of wordpress base translations. Wordpress has ...
2
votes
0answers
16 views

Plugin translations files outside plugin directory? [duplicate]

I'm using the excellent Codestyling Localization plugin to translate themes and plugins. But there's a problem when translating plugins, namely that the translated strings are saved to ...
1
vote
2answers
55 views

Use translated taxonomy labels in plugin

I'm writing a plugin that works with taxonomy terms. It has, among other things, the capability to create new terms. I'm going to suppose that if users have custom taxonomies, they have taken care of ...
0
votes
3answers
51 views

__(): What if I have to pass in a variable?

In the docs for the translate function __( $text, $domain ), it states that you must put the string directly in place of $text, that you cannot do something clever such as __( $my_text, 'text-domain' ...
0
votes
0answers
71 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 ...
0
votes
0answers
23 views

Translate Post Content

I'm running a blog with lots of images and some descriptions written in Italian, most foreign visitors complain that they do not understand what's written, I've lost many of them.. I was thinking to ...
0
votes
0answers
144 views

Google Language Translator - Manage Translation

I installed Google Language Translator wordpress plugin. How can I manage it's translation (https://translate.google.com/manager/website). I can manage the translation if not using a plugin, but ...
0
votes
2answers
327 views

Translate wordpress plugin

Below is a small tutorial of translation from English To German. (You can change the it as your needs). in any plugin file, it has unique name in its header. /* Plugin Name: SampleTut ....... */ ...
0
votes
2answers
67 views

Translate Woosidebars plugin strings

I'm trying to translate Woosidebars strings in french using PoEdit but my french strings are never shown on the front-end. English strings are always displayed, even when I change the language (And I ...
3
votes
1answer
463 views

Overwrite textdomain of plugins by default - Lost Translation

Wordpress is awesome, but there is something that is driving me crazy. Whenever a plugin or a theme is updated, all files are deleted and replaced. So if I have custom code or a translation in one ...
3
votes
2answers
340 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
1answer
374 views

Using Variable in WordPress Translate Functions

From everything I've read, you should only translate text strings via the WP translation functions like _e() or __(). However, I need a way to translate content submitted via a form. Is there some ...
1
vote
2answers
62 views

Translating long texts with html formatting

I was wondering what is the best way to translate some longer texts with html formatting. There was a couple of solutions I came across, but did not know what would be the best one. Writing a couple ...
1
vote
1answer
207 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
314 views

I'm looking for a visual composer / builder plugin that supports RTL

i'm looking for a plugin that enables building pages in a visual drag & rop interface, these plugins are getting better and gaining popularity - there's several plugins in this category such as ...
6
votes
5answers
8k views

How to translate a plugin via .po .mo?

I want to translate this plugin. This plugin already has translations to some languages, and it has .pot file for adding new languages (as far as I understood from description). Although I never had ...
0
votes
1answer
182 views

How to install a translation for a WP plugin?

So I installed this plugin http://wordpress.org/extend/plugins/wp-email/ I need a Spanish translation. There is a link that takes you to a list of translation files: ...
1
vote
2answers
656 views

How to translate __('') strings in admin

What would be the best plugin to use for translating website. Thing is - i installed one multilingual plugin, but it does not pick up strings from templates. For example - the template has stuff lke ...
3
votes
1answer
3k views

[Plugin WPML] : How to create a translation of a post using the WPML API?

I'm trying to figure out how to create a translation for a post using the internal WPML API (inc/wpml-api.php) I simply want to create a translation for post ID xx, set some content and publish it. ...
2
votes
3answers
479 views

Suggestions for i18n plugin

Could you please suggest me good plugins (that you have used) for translating a WordPress website? It should be wonderful if you can add as well a pros and cons list with your suggestion. Thanks in ...