WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#15910 closed feature request (invalid)

translate plugin name and description

Reported by: bmb Owned by:
Milestone: Priority: normal
Severity: minor Version: 3.0.3
Component: I18N Keywords:
Focuses: Cc:

Description (last modified by nacin)

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)

comment:1 follow-up: nacin3 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

They are already added to the pot. They are already translated.

comment:2 in reply to: ↑ description bmb3 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

comment:3 nacin3 years ago

  • Description modified (diff)

comment:4 in reply to: ↑ 1 ; follow-up: bmb3 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?

comment:5 in reply to: ↑ 4 ocean903 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().

Last edited 3 years ago by ocean90 (previous) (diff)
Note: See TracTickets for help on using tickets.