Questions tagged [xgettext]

The tag has no usage guidance.

1
vote
0answers
55 views

Ajax - gettext without a plugin

How would you go about setting the correct language returned in AJAX calls, when you are not using any plugin? All other strings in page work fine just by defining WPLANG to a proper locale. ...
0
votes
0answers
15 views

Get all strings from all plugins

I'm trying to develop a plugin to override any translation from any plugin directly from wp-admin. In order to do this, I need to get the strings from any given plugin, and also the translations (in ...
0
votes
0answers
58 views

Translation not working for Constant strings in Plugin

I want to translate constant strings in my plugin defined as: define( 'CONSTANT', __( 'string-A', 'textdomain' ) );. The 'string-A' is available for translation and I have uploaded the mo files in the ...