Opened 14 years ago
Closed 14 years ago
#15910 closed feature request (invalid)
translate plugin name and description
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | 3.0.3 |
Component: | I18N | Keywords: | |
Focuses: | Cc: |
Description (last modified by )
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.
Change History (5)
#1
follow-up:
↓ 4
@
14 years ago
- Milestone Awaiting Review deleted
- Resolution set to invalid
- Status changed from new to closed
#2
in reply to:
↑ description
@
14 years ago
Replying to 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
#4
in reply to:
↑ 1
;
follow-up:
↓ 5
@
14 years ago
- Resolution invalid deleted
- Status changed from closed to reopened
Replying to nacin:
They are already added to the pot. They are already translated.
where? maybe only if you export from the admin panel of the wordpress.org plugins repository, but not in my personal plugins for my own sites and my costumers. how would I translate it myself? put it in the same .po file as the rest of my plugin translation? how will wp know where to find it?
#5
in reply to:
↑ 4
@
14 years ago
- Resolution set to invalid
- Status changed from reopened to closed
Replying to bmb:
Replying to nacin:
They are already added to the pot. They are already translated.
how would I translate it myself? put it in the same .po file as the rest of my plugin translation?
Yes. Please use http://wordpress.org/support/ for questions like yours.
Tip: get_plugin_data().
They are already added to the pot. They are already translated.