Twake icon indicating copy to clipboard operation
Twake copied to clipboard

Fix landing page language auto-selection and agnostic links

Open RomaricMourgues opened this issue 3 years ago • 1 comments

I can't set the download url to the twake config, because https://twake.app/download returns a 404, so I need to choose a language and so for know it is https://twake.app/fr/download (and it stays to fr). It should automatically choose the right language, or fallback to english. E.g.:

  • https://twake.app/download should work and move to https://twake.app/fr/download or https://twake.app/ru/download

  • https://twake.app/fr/download if I change to russian (in production) then I am redirected to https://twake.app/ru/ but I should be redirected to https://twake.app/ru/download with english text if russian is not ready yet.

I guess the issues comes from a bad framework / i18n library, so the minimum is to have the /download redirect to /fr/download depending on browser language has hot fix...

RomaricMourgues avatar Aug 01 '22 12:08 RomaricMourgues

PR: https://ci.linagora.com/linagora/organization/twake/-/merge_requests/185

rezk2ll avatar Aug 01 '22 15:08 rezk2ll