[wp-trac] [WordPress Trac] #15677: It is not possible to install multiple variants of the same language
WordPress Trac
noreply at wordpress.org
Sun Aug 17 14:33:24 UTC 2014
#15677: It is not possible to install multiple variants of the same language
--------------------------+------------------
Reporter: caesarsgrunt | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.0
Component: I18N | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------
Comment (by johnbillion):
I like that idea. Here are a few brain dumps:
* We should use two `<optgroup>`s instead of the separator made of
dashes. One group for installed languages and one for available languages.
* We should add a wrapper function for
`wp_get_available_translations_from_api()` which uses a short term
transient to avoid hitting the API every time the General Settings screen
is viewed.
* We should add a filter to allow the installation of new languages to be
disabled.
* Needs to handle API request failures.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/15677#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list