Skip to content

PB-621 : fix issue where lang can't be changed anymore#907

Merged
ltshb merged 1 commit intodevelopfrom
bug_PB-621_lang_issue
Jun 12, 2024
Merged

PB-621 : fix issue where lang can't be changed anymore#907
ltshb merged 1 commit intodevelopfrom
bug_PB-621_lang_issue

Conversation

@pakb
Copy link
Contributor

@pakb pakb commented Jun 12, 2024

Instead of mapping locale to our i18n, which seems to break lang change after app startup, revert this part and improve the way we detect the default locale from the navigator available locales. This should alleviate the issue with only 'xx-CH' locales present in the browser's setting, while still enabling the lang change after startup

Test link

@pakb pakb requested a review from ltshb June 12, 2024 13:01
@github-actions github-actions bot added the bug label Jun 12, 2024
@cypress
Copy link

cypress bot commented Jun 12, 2024

Passing run #2507 ↗︎

0 208 20 0 Flakiness 0

Details:

PB-621 : fix issue where lang can't be changed anymore
Project: web-mapviewer Commit: 778eefb136
Status: Passed Duration: 05:55 💡
Started: Jun 12, 2024 1:20 PM Ended: Jun 12, 2024 1:26 PM

Review all test suite changes for PR #907 ↗︎

Instead of mapping locale to our i18n, which seems to break lang change after app startup, revert this part and improve the way we detect the default locale from the navigator available locales.
This should alleviate the issue with only 'xx-CH' locales present in the browser's setting, while still enabling the lang change after startup
@pakb pakb force-pushed the bug_PB-621_lang_issue branch from 7bd9c8c to 778eefb Compare June 12, 2024 13:14
@ltshb ltshb merged commit 2ba6f57 into develop Jun 12, 2024
@ltshb ltshb deleted the bug_PB-621_lang_issue branch June 12, 2024 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants