Skip to content

[I18n] New locale codes not supported by angular.json #17032

Closed
@floreks

Description

@floreks

According to I18n documentation, language code such as zh-Hant-HK should be supported. Documentation also points you to the list of all supported locales on the angular repo.

It seems however that those codes are blocked by the regular expression defined in the schema.

"locales": {
"type": "object",
"additionalProperties": false,
"patternProperties": {
"^[a-z]{2}(-[a-zA-Z]{2,})?$": {

Zrzut ekranu z 2020-02-20 16-27-55

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions