Esri / Esri/instant-apps-components

Language Switcher: Update default locale logic

Open
#206 4 comments 0 reactions 1 assignee Assigned to @kellyhutchins View on GitHub
Installed
Dominant language
TypeScript
Stars
17
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Currently if you have a locale url param set then the default becomes that url even and the initial default isn't shown. Here's an example where we show French twice in an app configured with English and French:

![Screenshot 2023-08-29 at 3 43 26 PM](https://github.com/Esri/instant-apps-components/assets/2124187/c3f6ee2f-c2e5-439f-9a2a-6eb648bef555)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.