Tagged Questions
1
vote
2answers
99 views
How to prepare SimplePie_Item's get_date() for l10n?
I'm trying to improve the localization of the Bones theme. On the admin side it provides an RSS widget which uses the following code:
<?php
echo $item->get_date('j F Y @ g:i a');
?>
...
5
votes
1answer
128 views
Gettext details
I've got a few gettext() questions that are not covered anywhere in WordPress Codex but I think they are important.
__('string') in THEME should be used for strings that are likely to be present ...
2
votes
0answers
57 views
Singular name Plugin localization
I'm trying to localize the singular name of a custom post type.
...
'singular_name' => __('key', 'plugindomain')
...
I created a .po and compiled it as .mo. I also loaded the translation using ...
1
vote
1answer
294 views
Multisite WPLANG won't save
I have a multisite workpress install (v 3.3.2). I'm trying to save the WPLANG field but nothing happens. I get the confirmation message "Site options updated", but the field is still blank. And ...
0
votes
1answer
118 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
159 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 ...
3
votes
2answers
189 views
Localizing strings that come from outside of plugin?
Plugin queries remote API and under certain circumstances (mostly errors) displays textual messages from API responses. All messages in API responses are in English, but since they are more or less ...