The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
2answers
654 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 ); ...
1
vote
1answer
223 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 ...
0
votes
2answers
204 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
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 ...
5
votes
4answers
5k 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
144 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
1answer
113 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
207 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 ...
2
votes
1answer
49 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 ...
2
votes
3answers
494 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 ...
1
vote
1answer
164 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. ...
11
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
1answer
609 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 ...
3
votes
2answers
270 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
93 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 ...