The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
2answers
381 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'); ?> ...
0
votes
1answer
11 views

Localization of menu items

In register_nav_menu() function is possible to pass the second parameter inside wp l10n function: register_nav_menu( 'primary', __( 'Primary Menu', 'theme-slug' ) ); but how to localize the menu ...
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
30 views

How to get the list of languages provided by a plugin

I'm creating a new wordpress plugin dealing with the admin languages, and I'm wondering if you know how to get the list of languages provided by a specific wordpress plugin ? like this one : ...
3
votes
0answers
102 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 ...