Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic redirect from homepage to "default locale/language" (in "LANGUAGE_AS_REGION"-mode) #1121

Open
elwinschmitz opened this issue Oct 3, 2024 · 0 comments
Labels
Change: Code Changes to logic/templates required Client: Demo Specifically for Demo-purposes enhancement New feature or request Feature: i18n Related to translations and using other languages Feature: Region/Sheet Custom settings/values manageable in the sheet Size: XS Extra Small, max. 0.5 day for 1 developer

Comments

@elwinschmitz
Copy link
Member

When using: NG_USE_REGION_PER_LOCALE=true
And setting another, new flag like: NG_USE_REDIRECT_TO_DEFAULT_LOCALE=true
The root/main-page should redirect automatically to the language/locale set in NG_LOCALE_LANGUAGE.


Ideas / Questions / Research

  • Can the redirect be rendered in HTML as a meta-redirect?
  • Will it flash the main-page quickly when redirecting via JS (in the main-page controller?)
@elwinschmitz elwinschmitz added Change: Code Changes to logic/templates required Client: Demo Specifically for Demo-purposes enhancement New feature or request Feature: i18n Related to translations and using other languages Feature: Region/Sheet Custom settings/values manageable in the sheet Size: XS Extra Small, max. 0.5 day for 1 developer labels Oct 3, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in HIA Kanban Oct 3, 2024
@elwinschmitz elwinschmitz moved this from 🆕 New to 📋 Backlog in HIA Kanban Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Change: Code Changes to logic/templates required Client: Demo Specifically for Demo-purposes enhancement New feature or request Feature: i18n Related to translations and using other languages Feature: Region/Sheet Custom settings/values manageable in the sheet Size: XS Extra Small, max. 0.5 day for 1 developer
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant