HSLdevcom / HSLdevcom/digitransit-ui
Allow passing locale=FI/SV/EN
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 267
- Forks
- 145
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 75
Description
User can change the language when page is loaded but it doesn't seem to handle this param on initial load?
For example when you open https://opas.matka.fi/?locale=sv ... It still seems to render Finnish version on my browser.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by opening https://opas.matka.fi/?locale=sv and compare the initial language with the language after changing it on the page. Trace the initial-load locale handling and ensure the FI/SV/EN query parameter selects the requested language before the page renders.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, localization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100