Making WordPress.org

Opened 5 years ago

Closed 5 years ago

#5248 closed enhancement (worksforme)

API showing non existing locales

Reported by: casiepa's profile casiepa Owned by:
Milestone: Priority: normal
Component: Translate Site & Plugins Keywords:
Cc:

Description

Older plugins (like bbPress) seem to show no longer existing locales in the API:
https://translate.wordpress.org/api/projects/wp-plugins/bbpress/stable is showing 'Latin'.

The wp_locale is not set (because it does not exist), but I don't see any reason to show it.

Change History (1)

#1 @ocean90
5 years ago

  • Resolution set to worksforme
  • Status changed from new to closed

The API lists all available translation sets, same as https://translate.wordpress.org/projects/wp-plugins/bbpress/stable/ does. Since a translation set doesn't necessarily require a WordPress locale the output is correct as is.

We could do a cleanup for unused translation sets at some point but this isn't really a high priority task.

Note: See TracTickets for help on using tickets.