Skip to content

For i18n data purposes, map the "bs" locale to "hr" instead of "bs-Cyrl" #12274

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 of 6 tasks
annierm18 opened this issue Jun 3, 2025 · 3 comments
Open
2 of 6 tasks
Assignees
Labels
1 - assigned Issues that are assigned to a sprint and a team member. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. estimate - 3 A day or two of work, likely requires updates to tests. i18n-l10n issues dealing with internationalization/localization impact - p2 - want for an upcoming milestone User set priority impact status of p2 - want for an upcoming milestone p - high Issue should be addressed in the current milestone, impacts component or core functionality

Comments

@annierm18
Copy link
Contributor

annierm18 commented Jun 3, 2025

Check existing issues

Description

Per Babak's comment here, the Bosnian distributor has asked Esri products to use "hr" locale as the substitute for "bs" locale insead of "bs-Cyrl" for i18n data purposes.

Closed issues related to this:
#9387
#4583

Acceptance Criteria

For i18n purposes (not t9n), the "bs" locale should map the the "hr" locale.

Relevant Info

Here is the fix from the JSAPI team - it's issue num 70886. The fix was applied for datetime and numbers.

Which Component

Any components that are impacted by Chromium's lack of support of the "bs" locale. This would include components that use intl, like input-date-picker.

Example Use Case

No response

Priority impact

impact - p2 - want for an upcoming milestone

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-react
  • @esri/calcite-design-tokens
  • @esri/calcite-ui-icons
  • @esri/eslint-plugin-calcite-components

Esri team

N/A

@annierm18 annierm18 added enhancement Issues tied to a new feature or request. 0 - new New issues that need assignment. needs triage Planning workflow - pending design/dev review. i18n-l10n issues dealing with internationalization/localization labels Jun 3, 2025
@github-actions github-actions bot added the impact - p2 - want for an upcoming milestone User set priority impact status of p2 - want for an upcoming milestone label Jun 3, 2025
@geospatialem geospatialem added p - high Issue should be addressed in the current milestone, impacts component or core functionality bug Bug reports for broken functionality. Issues should include a reproduction of the bug. and removed enhancement Issues tied to a new feature or request. labels Jun 4, 2025
@geospatialem geospatialem added 1 - assigned Issues that are assigned to a sprint and a team member. estimate - 3 A day or two of work, likely requires updates to tests. and removed 0 - new New issues that need assignment. needs triage Planning workflow - pending design/dev review. labels Jun 4, 2025
@anveshmekala
Copy link
Contributor

@annierm18 In a recent update 71749, js-api is using sr-Latn-CS for bs instead of hr . Wanted to get your thoughts on the preferred fallback value up until Chrome support for bs is available.

@anveshmekala
Copy link
Contributor

And for month to be latn, I don't think we have the nls bundle for hr with latin month abbreviation.

@annierm18
Copy link
Contributor Author

@anveshmekala I will get back to you on this soon

@Esri Esri deleted a comment from I18nRobo Jun 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 - assigned Issues that are assigned to a sprint and a team member. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. estimate - 3 A day or two of work, likely requires updates to tests. i18n-l10n issues dealing with internationalization/localization impact - p2 - want for an upcoming milestone User set priority impact status of p2 - want for an upcoming milestone p - high Issue should be addressed in the current milestone, impacts component or core functionality
Projects
None yet
Development

No branches or pull requests

3 participants