Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Propuesta de nombrado de claves de localización
// 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