Making WordPress.org

#4997 closed enhancement (duplicate)

Use standard language abbreviations

Reported by: casiepa Owned by:
Milestone: Priority: normal
Component: WordPress.tv Keywords:


The use of language codes on WordPress.tv need a full review. A submission of a subtitle could not be done because of a hardcoded, non-standard list of languages.

WordPress.tv is currently using it's internal language list from https://wptv.wordpress.com/wp-admin/edit-tags.php?taxonomy=language e.g. Czech/Čeština but also has some fixed/hardcoded lists e.g. https://wordpress.tv/subtitle/?video=98898

WordPress has languages defined on https://make.wordpress.org/polyglots/teams/ and https://translate.wordpress.org/api/languages/

YouTube is using ISO-639-1 abbreviations with some exceptions (see https://cloud.google.com/translate/docs/languages)

Change History (3)

#1 @casiepa
22 months ago

  • Component changed from General to WordPress.tv

This ticket was mentioned in Slack in #wptv by casiepa. View the logs.

22 months ago

#3 @dd32
13 months ago

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

Duplicate of #1156.

Note: See TracTickets for help on using tickets.