[wp-trac] [WordPress Trac] #15910: translate plugin name and description

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 20 10:31:50 UTC 2010


#15910: translate plugin name and description
-----------------------------+----------------------
 Reporter:  bmb              |       Owner:
     Type:  feature request  |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  I18N             |     Version:  3.0.3
 Severity:  minor            |  Resolution:  invalid
 Keywords:                   |
-----------------------------+----------------------

Comment (by bmb):

 Replying to [ticket:15910 bmb]:
 > It would be great if we could translate a plugin's name and description.
 One idea might be to add a my_plugin_dummy_function() to the plugin, and
 in there just have two calls to `__`() with the name and description, so
 that they get added to the .pot file and translated, and have the
 translation domain in the plugin header (like I18N Domain: whatever), and
 then have the admin panel that displays the list of plugins load the
 translations.

 my post got messed up by the double underscore. sorry

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15910#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list