Make WordPress Core

Opened 17 years ago

Closed 12 years ago

#13069 closed defect (bug) (fixed)

Use GlotPress list of locales instead of the one in ms.php

Reported by: nbachiyski Owned by: nbachiyski
Priority: high Milestone: 4.0
Component: I18N Version: 3.0
Severity: minor Keywords:
Cc: Focuses:

Description

GlotPress keeps track of all languages and locales with some information about them. The list there is also well maintained.

Change History (6)

#1 @hakre
16 years ago

  • Keywords reporter-feedback added

Is this referring to mu_dropdown_languages() in /wp-admin/includes/ms.php ?

#2 @nacin
16 years ago

  • Keywords reporter-feedback removed
  • Milestone Awaiting Triage → Future Release

#4 @iandunn
13 years ago

  • Cc ian.dunn@… added

#5 @nacin
12 years ago

  • Milestone Future Release → 4.0

#6 @ocean90
12 years ago

  • Resolution → fixed
  • Status new → closed

In 29630:

Language packs: No WPLANG anymore.

  • The WPLANG constant is no longer needed. Remove define('WPLANG', ); from wp-config-sample.php. Populate WPLANG option based on the WPLANG constant. When get_option('WPLANG') is an empty string it will override WPLANG.
  • Introduce translations_api() which is available to communicate with the translation API. Move translation install related functions to a new file.
  • Replace mu_dropdown_languages() with wp_dropdown_languages(). wp_dropdown_languages() is now populated by the translation API.
  • Remove wp_install_load_language() and allow load_default_textdomain() to switch a core translation.

fixes #13069, #15677, #19760, #28730, #29281.

Note: See TracTickets for help on using tickets.