-
Notifications
You must be signed in to change notification settings - Fork 29.3k
Closed as not planned
Labels
r: duplicateIssue is closed as a duplicate of an existing issueIssue is closed as a duplicate of an existing issue
Description
Use case
I'm developing an app which provide en-US
and zh-CN
language. Since the intl need a base locale(without the script code or country code), I have to use app_en.arb
and app_zh.arb
as the fileName, and the @@locale
have to be en
and zh
, but in this way the country code in the generated Locale is missed while the country code is used in some logic. Is it possible to set the @@locale
to be en-US
and zh-CN
in this case?
I found there is a discuss about this, #92731,but the commit seems to be reverted?
Proposal
Make it possibe for developers define country code in the base locale arb files.
Metadata
Metadata
Assignees
Labels
r: duplicateIssue is closed as a duplicate of an existing issueIssue is closed as a duplicate of an existing issue