The tag has no wiki summary.

learn more… | top users | synonyms (1)

5
votes
2answers
1k views

How to provide translations for a WordPress TinyMCE plugin?

I know that I can get my translations into JavaScript doing: $MyTranslations = array( 'translation1' => __("Some String 1", "MyTranslations"), 'translation2' => __("Some ...
0
votes
1answer
183 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: ...
0
votes
1answer
2k views

qTranslate 2.5.28 and WordPress 3.3.1 issues

Anybody knows how to solve the issues in qTranslate 2.5.28 with WordPress 3.3.1? http://www.qianqin.de/qtranslate/forum/viewtopic.php?f=3&t=3045 ...
1
vote
2answers
614 views

WPML Translated Term

Since I posted on their forum and I didn't got any answer, here I am, asking the same question again. So: I made a script that add the posibility to add an image and change the order for the terms of ...
0
votes
3answers
975 views

Internationalize plugin so strings can be translated in WPML

A third party developer made a text widget with title, body and thumbnail. This accompany widget plugin has not been internationalized and therefore the strings do not appear in WPML's string ...
0
votes
1answer
394 views

Problem with Language translation

I working with a theme that supports langauge settings. I've changed the setting in WP-Config to: define('WPLANG', 'es_ES'); The theme I'm using did not provide the es_ES.po or es_ES.mo files so I ...
4
votes
1answer
278 views

How do I translate: “2 hours and 15 minutes”?

I want to translate the generic phrase "x hours and y mintues". Of course, if it's only one hour, it should say "1 hour and y mintutes". The same goes for minutes, "x hours and 1 minute." I know ...
2
votes
1answer
566 views

How to use get_option() without any filter?

I'm using the newest WordPress 3.3.1 and newest qTranslate 2.5.27. I have made some an AJAX script which returns a value and message in the current language. Here I get my first problem, I solve it ...
0
votes
1answer
753 views

WP-e-commerce (getshopped) Hebrew language files - where can I get them?

I’m working on a dual language website (english+hebrew) the website uses wpml+wpec. I’m looking for the hebrew language files (mo/po) – where can i get them?
0
votes
1answer
1k views

Translate custom template with WPML

I have custom template that is used by ClassiPress and it is working fine on default language, but when I enter the page language selector won't work since it's not translated. How can I translate ...
0
votes
3answers
128 views

Translation for plugin

I modified a .po file, basically I opened as txt file and made the changes, however I uploaded it and is changes are not working. I wonder if I need an special software for doing and generate a new ...
0
votes
2answers
248 views

Removing translation textdomain

I am working on a plugin for myself, so, it's totally useless to load textdomain. But most of codes I copied from others are using the __(' ','') I copied the codes from several plugins. So, even if I ...
1
vote
2answers
690 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 ...
0
votes
2answers
582 views

Dealing with variables with gettext function

I've found tweaking some of the text in WordPress to be pretty easy by adding in the following function (in lieu of using a separate plugin): add_filter( 'gettext', 'of_site_translations', 9999, 2 ); ...
16
votes
3answers
4k views

Change language by clicking a button

The goal is to offer a button/select drop-down or similar to switch the public interface1) language on the fly. What I'm searching for Plugin or Theme Code... ... or Ideas Using a work-around with ...
5
votes
2answers
3k views

How-to: Translate plural forms for themes/plugins with PoEdit

As the title says: How would you translate... _n() _n_noop() _nc() _nx() _nx_noop() ...in your .mo files?
2
votes
2answers
4k 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 ...
5
votes
3answers
596 views

Localization: I want the backend: english and frontend in defined language

I'd like to have the backend of Wordpress in English and use a different locale for the frontend so far I figure out perhaps I could do it by setting in the wpconfig the locale I want to use in the ...
2
votes
1answer
1k views

Translate Navigation Menu & Sidebar Widget Titles

Is there any plugin to translate navigation menu & sidebar widget titles ?
1
vote
1answer
214 views

Widget translation on my plugin

I am adding i18n to the widget on List Category Posts. I've correctly created the pot file, and po and mo files for Spanish and English. All of the Strings are being displayed with _e() on the form ...
1
vote
5answers
2k views

Proper way to create / manage gettext (.po, .pot) files?

So I'm trying to figure out how .po and .pot files work, seeing as this is what Wordpress seems to use. But I can't wrap my head around it. I get that a .pot file is a template file that indicates ...
0
votes
1answer
129 views

Easy way to update a single translation entry without having to translate

I'm using the "Featured Image" meta box which allows you to attach a secondary thumbail to a post. The title for this box is defined in the Wordpress codebase like so: __('Featured Image') Which ...
2
votes
1answer
319 views

Adding another arg to comments_popup_link

what WordPress core functions do I have to modify to change comments_popup_link('Ni komentarjev', '1 komentar','% komentarjev') to comments_popup_link('Ni komentarjev', '1 komentar', **'2 ...
0
votes
1answer
1k views

Change language of comments template

I have a Wordpress installation in italian, I need to keep italian for the admin section but the frontend needs to be in english. The theme is custom so that's ok, but in single posts I'm using ...
5
votes
4answers
4k 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 ...
1
vote
1answer
2k views

Translating a custom taxonomy

How do I go about translating custom taxonomy terms? I am essentially trying to allow authors to see the terms in English and let the subscribers see the terms in Spanish. I am not running a ...
1
vote
3answers
8k views

Different Language for Frontend and Backend

I use a English WordPress package and this is very well. Now, I would like to translate some elements of the blog (like "posted on", "comments") etc, but do leave the dashboard interface intact in ...
0
votes
1answer
141 views

Wordpress localization - gettext and git

We're about to start working on localization of a highly customized wordpress theme with over 200 php files. We're using git for version control. Are there any particular hints or warnings we should ...
0
votes
2answers
197 views

localization of theme and plugins to English (originally in another language)

We're about to start localizing a wordpress installation with a highly customized theme and several custom plugins. Unfortunately it is not gettext-ready, and also the original theme is not in ...
0
votes
1answer
109 views

Translation with wordpress what does the process involve?

What's the process involved with translating content into the language of your own? Or multiple languages? I'm looking to create a website that requires various different language translations.
1
vote
1answer
194 views

POMO_Reader->substr() call endless loop?

I'm experiencing a somewhat endless loop in the file mo.php /wp-includes/pomo/mo.php when loading the site's default text domain. The PHP error is: Fatal error: Maximum execution time of 30 ...
5
votes
3answers
3k views

Open Source replacement for WPML? [closed]

Since WPML is not free anymore and still one of the most used Wordpress Translation Plugins, is there an open source project that keeps development going? Or something similar that replaces it? I ...
3
votes
1answer
443 views

what's different between _x() and _()

What's different between _x() and _(). For example: if a1 can translate as: a1 has meaning x1; a1 has meaning x2; How _x() function to get value x1 or x2?
1
vote
1answer
47 views

The effect of x() family of functions

So I know that _x() and it's wrappers allow a developer to specify the context of a translated string. I'm pretty clear on "how" to use this function as well as "why" it should be used. I am wondering ...
4
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. ...
1
vote
1answer
153 views

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

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. ...
0
votes
4answers
4k views

How to translate month names in “Archives”

How can I modify month names in "Archives" in my blog? I would like to translate english month names into my mother tongue. I'm using the english version of wordpress 3.1.3
0
votes
2answers
494 views

Wordpress translator plugin: Google Webmaster's Tools shows hundreds of 404 not found errors. How to clean the mess?

I had Global Translator Wordpress plugin. It littered Google Search index with thousands of translated urls. Couple of months ago I removed the plugin and also the cached pages on the server. But ...
2
votes
3answers
484 views

Suggestions for i18n plugin [closed]

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 ...
3
votes
2answers
259 views

How to prevent text modified using gettext filter being stomped (presumably) by updateText() js function within a CPT's edit screen

First a teeny bit of background... I have a custom post type where I'd like to use custom post statuses. Since custom post statuses (stati/status/whatever), have not been fully implemented within the ...
0
votes
3answers
92 views

Should we localize custom-made themes / plugins?

Does anyone know how much do the localization functions from WordPress affect the speed of a website? Do you think it's worth replacing all strings with gettext inside a theme, even if it will only ...
2
votes
1answer
597 views

Plugin Localization

i've just built my first plugin for wp, and even if it's not a great "code poetry" ;) it works as it should. It's a plugin that transform the default wp gallery using the GalleryView 3.0 jquery plugin ...
10
votes
2answers
1k views

pass object/JSON to wp_localize_script

I've got a working piece of javascript that contains an object literal. But I need to localize it, and I'm ytrying to figure out how to rewrite it so that I can get wp_localize_script() to accet it, ...
2
votes
2answers
2k views

Best way to filter featured image text for a custom post type?

I am trying to change the "Set featured image", "Remove featured image", and "Use as featured image" text links of a custom post type for my plugin Meteor Slides. I found the ...
9
votes
5answers
4k views

Change the text on the Publish button

Is there a way to change the text of the publish button on a custom post type to say some different? For example, Save instead of Publish. And also remove the draft button?