status-web icon indicating copy to clipboard operation
status-web copied to clipboard

[Help pages] Redirect to the default language when the language is not specified in the URL

Open alexjba opened this issue 1 year ago • 2 comments

The discussion here will provide some context: https://github.com/status-im/status-desktop/pull/11430#discussion_r1255532787

Motivation

In Status Desktop and probably Status Mobile we'll be using hardcoded URLs to take the user to a specific help page, depending on app context. For example in Status Desktop there's a button to open this URL in an external browser: https://help.status.im/en/status-communities/about-the-control-node-in-status-communities. Please note the en language is hardcoded in the URL because the help pages does not support multiple languages. This means a user won't be able to see the proper web page even if multi-language support will be available post MVP because English is hardcoded in the URL. Generally speaking it's harder to bring updates to the desktop app user as opposed to the web user and there's a chance some app users can't benefit from multi-language documentation even if it will become available.

The proposed solution to this is to have the ability to use a help URL without specifying the language and to get redirected to a specific language based on the system/browser settings.

Eg:

  • No support for multi-language: https://help.status.im/status-communities/about-the-control-node-in-status-communities will redirect to https://help.status.im/en/status-communities/about-the-control-node-in-status-communities

  • Multi-language support enabled: https://help.status.im/status-communities/about-the-control-node-in-status-communities will redirect to https://help.status.im/[user language]/status-communities/about-the-control-node-in-status-communities

alexjba avatar Jul 07 '23 14:07 alexjba

@prichodko, @marcelines, @felicio I'd appreciate some thoughts on this. Is it something worth considering when moving the documentation pages to the new domain?

alexjba avatar Jul 07 '23 14:07 alexjba

Hey @alexjba , I think this issue should go to https://github.com/status-im/status-website and not on this repo (?)

@prichodko please, correct me if I'm wrong.

Regarding language support for Status Help, the MVP version is English-only, and we don't plan to include new languages until 2024, earliest. However, considering we'll have new languages AND that URLs are hardcoded in Status desktop, it may be a good idea to think about that now. I leave this decision up to you, @prichodko; I know the list of priorities is pilling up quickly.

jorge-campo avatar Jul 27 '23 08:07 jorge-campo