Created
April 27, 2016 10:35
-
-
Save jbgutierrez/3f163de61a7ce8bd25a14f13cd6fe52b to your computer and use it in GitHub Desktop.
Propuesta de nombrado de claves de localización
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ahora | |
diccionarios = [channel_][territory_]language | |
templates = [channel_][territory_]language | |
configuraciones = [channel_]territory[_language] | |
// propuesta | |
The locale naming convention is: | |
language[_territory][.codeset][@modifier] | |
where a two-letter language code is from ISO 639, a two-letter territory code is | |
from ISO 3166, codeset is the name of the codeset that is being used in the | |
locale, and modifier is the name of the characteristics that differentiate the | |
locale from the locale without the modifier. | |
diccionarios = language[-territory][@channel] | |
templates = language[-territory][@channel] | |
configuraciones = [language-]territory[@channel] | |
El hecho de usar "-" en lugar de "_" es para diferenciarlo del locale empleado | |
por commerce. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment