WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #28197, comment 20


Ignore:
Timestamp:
08/11/2015 02:19:45 PM (6 years ago)
Author:
Kau-Boy
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28197, comment 20

    initial v1  
    1 @p_enrique I can totally understand, that you dislike the fact, that a locale `es` should be taken for all country specific variants. But even doing this would not be enough. Think about a country such as `ug_CN` (Uighur - China). The best fallback in this case might be `zh_CN` (Simplified Chinese).
     1@p_enrique I can totally understand, that you dislike the fact, that a locale `es` should be taken for all country specific variants. But even doing this would not be enough. Think about a locale such as `ug_CN` (Uighur - China). The best fallback in this case might be `zh_CN` (Simplified Chinese).
    22
    33So simply takting the first part of a locale and falling back to any language starting with the same part, might not be enough.