globalize icon indicating copy to clipboard operation
globalize copied to clipboard

Region Override Support

Open AlexandreGarino opened this issue 5 years ago • 1 comments

According to the CLDR documentation, we can specify a region overriding the region specified in the language identifier.

Does Globalize support this extension?

If yes, any help would be greatly appreciated.

AlexandreGarino avatar Apr 17 '19 21:04 AlexandreGarino

Cldrjs (used by globalize) should identify such subtag, but it's not used by Globalize. Proposal is welcome.

let g = new Globalize("en-GB-u-rg-uszzzz");
g.cldr.attributes['u-rg']
// > "uszzzz"

rxaviers avatar Apr 24 '19 00:04 rxaviers