[wp-polyglots] Suggestions for better localizations
kimmo+key+wordpress.c4f53f at suominen.com
Wed Feb 22 07:41:58 GMT 2006
On Tue, Feb 21, 2006 at 11:10:44PM +0100, Karl Wångstedt wrote:
> Another thing; I've seen a few plugins that are fully gettexted but
> doesn't have a translation. If I do a .mo for them, where do I put
> it? Next to the plugin itself in wp-content/plugins or do I have to
> include the msgstr's in the main .mo?
It should use a text domain as the second argument in the _e() and __()
calls and use its own .mo file, either in wp-content/plugins or in the
subdirectory of the plugin. You can tell which by looking at the second
argument to the load_plugin_textdomain() call in the plugin code (it
must have one to load the mo file).
<A HREF="http://kimmo.suominen.com/">Kimmo Suominen</A>
More information about the wp-polyglots