Skip to content

PB-621: Fixed default lang with -CH suffix#897

Merged
pakb merged 2 commits intodevelopfrom
bug-PB-621-default-lang
Jun 11, 2024
Merged

PB-621: Fixed default lang with -CH suffix#897
pakb merged 2 commits intodevelopfrom
bug-PB-621-default-lang

Conversation

@ltshb
Copy link
Contributor

@ltshb ltshb commented Jun 11, 2024

The -CH local suffix is not supported by our API backend. The default
language was set to the default browser language which could be de-CH or fr-CH.

Test link

@github-actions github-actions bot added the bug label Jun 11, 2024
@ltshb ltshb force-pushed the bug-PB-621-default-lang branch from 043260a to 7fea04b Compare June 11, 2024 13:10
@cypress
Copy link

cypress bot commented Jun 11, 2024

Passing run #2484 ↗︎

0 208 20 0 Flakiness 0

Details:

PB-621: Support also for English derivative en-US, ...
Project: web-mapviewer Commit: 88aa2b9f51
Status: Passed Duration: 05:46 💡
Started: Jun 11, 2024 2:35 PM Ended: Jun 11, 2024 2:41 PM

Review all test suite changes for PR #897 ↗︎

@ltshb ltshb requested a review from pakb June 11, 2024 13:21
Copy link
Contributor

@pakb pakb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've never experienced the case/bug on my device so I can't really test if it fixes it, but from code point of view, looking good

ltshb added 2 commits June 11, 2024 16:31
The `-CH` local suffix is not supported by our API backend. The default
language was set to the default browser language which could be de-CH or fr-CH.
@ltshb ltshb force-pushed the bug-PB-621-default-lang branch from 7fea04b to 88aa2b9 Compare June 11, 2024 14:32
@ltshb
Copy link
Contributor Author

ltshb commented Jun 11, 2024

I've never experienced the case/bug on my device so I can't really test if it fixes it, but from code point of view, looking good

@pakb To reproduce the error you need to set the default/preferred language of chrome to de-CH or fr-CH 😉 then start the application without parameters.

@pakb pakb merged commit 199b7fb into develop Jun 11, 2024
@pakb pakb deleted the bug-PB-621-default-lang branch June 11, 2024 14:48
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