Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#41794 closed defect (bug) (fixed)

Support numbers in locales during installation

Reported by: ocean90 Owned by: ocean90
Priority: normal Milestone: 4.8.2
Component: I18N Version: 4.0
Severity: normal Keywords:
Cc: Focuses:

Description

The current regex is a bit to strict for locales like pt_PT_ao90.

Change History (2)

#1 @ocean90
9 years ago

  • Owner set to ocean90
  • Resolution → fixed
  • Status new → closed

In 41335:

I18N: Allow numbers in locales during installation.

The current regex was a bit to strict for locales like pt_PT_ao90 which were already supported by wp_get_installed_translations().

Fixes #41794.

#2 @ocean90
9 years ago

In 41336:

I18N: Allow numbers in locales during installation.

The current regex was a bit to strict for locales like pt_PT_ao90 which were already supported by wp_get_installed_translations().

Merge of [41335] to the 4.8 branch.

See #41794.

Note: See TracTickets for help on using tickets.