-
Notifications
You must be signed in to change notification settings - Fork 193
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Use case: A user wants to publish locale files differently from how they are named in the package.
Scenarios:
- Underscore instead of hyphen, e.g.
zh-CN→zh_CN - Favour script over region, e.g.
zh-CN→zh-Hans - Arbitrary, e.g.
en→english? - Clone an existing language to start editing a new variant, e.g.
de→de-CH
Ideas:
- New
--alias=option for publish command with format such aslocale:alias(,locale:alias)* - Underscore or hyphen preference
- Predefined mappings between common use cases:
zh-CN/zh-TW→zh-Hans/zh-Hant(favour script over region, as in CDLR)pt/pt-BR→pr-PT/pt(favour Brazil as default over Portugal, as in CLDR)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request