Skip to content

AB#134286 Set the page language as the browser lang#2879

Merged
AntoineRelief merged 2 commits into
nextfrom
AB#134286-Browser-lang-by-default
Jun 22, 2026
Merged

AB#134286 Set the page language as the browser lang#2879
AntoineRelief merged 2 commits into
nextfrom
AB#134286-Browser-lang-by-default

Conversation

@Maximo-reliefapps

Copy link
Copy Markdown
Contributor

Description

If no Local Storage language is found, the page will render using the browser language (If it exists on our available languages).

Useful links

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.

  1. Remove locale language code.
  2. Use an extension like: Browser Locale Switcher
  3. Select uk, reload the page.

Screenshots

Screenshot 2026-06-17 at 16 55 29 No language var, still shows in ukranian.

Checklist:

( * == Mandatory )

  • * I have set myself as assignee of the pull request
  • * My code follows the style guidelines of this project
  • * Linting does not generate new warnings
  • * I have performed a self-review of my own code
  • * I have put the ticket for review, adding the oort-frontend team to the list of reviewers
  • * I have commented my code, particularly in hard-to-understand areas
  • * I have put JSDoc comment in all required places
  • * My changes generate no new warnings
  • * I have included screenshots describing my changes if relevant
  • * I have selected labels in the Pull Request, according to the changes with code brings
  • I have made corresponding changes to the documentation ( if required )
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

More explanation

https://www.loom.com/share/05a716d61b9744faaf51fb304c21d1e5?sid=f87cf896-582a-4f76-93ae-8ceed801b145

@Maximo-reliefapps Maximo-reliefapps self-assigned this Jun 17, 2026
@Maximo-reliefapps Maximo-reliefapps added the enhancement New feature or request label Jun 17, 2026
@Maximo-reliefapps Maximo-reliefapps changed the title Set the page language as the browser lang AB#134286 Set the page language as the browser lang Jun 17, 2026
@AntoineRelief AntoineRelief changed the base branch from beta to next June 22, 2026 13:51
@AntoineRelief AntoineRelief merged commit 32a3940 into next Jun 22, 2026
1 check passed
@AntoineRelief AntoineRelief deleted the AB#134286-Browser-lang-by-default branch June 22, 2026 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants