[wp-trac] [WordPress Trac] #15677: It is not possible to install multiple variants of the same language

WordPress Trac noreply at wordpress.org
Fri Aug 22 14:53:57 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 jesin):

 Changes in patch **15677.4.patch**:

 * Undefined variable `$action` in filters `translations_api` and
 `translations_api_result` changed to `$type`.
 * WP.org API **http:** URL assigned to the `$http_url` variable for
 fallback to work.
 * Variable `$args` in **line 55** of **translation-install.php** changed
 to `$options`.

 Bugs:

 * Switching back from any language to "English" (default) shows **Settings
 saved.** admin notice in the previous language. This is because the
 default "English" has an empty `value` attribute.
 * If there is problem communicating with WP.org and transients is empty
 the "Available Languages" list shows blank values except for English.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/15677#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list