You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 29, 2022. It is now read-only.
At the bottom of each doc page, we have these links:
We should add another that says "Translate this Doc".
If the visitor's locale is the default English (US, Canadian, or otherwise), one of the following should happen:
a) link to Crowdin project landing page. This is very easy to implement but is not the best UX, as the person has to then pick a target language and re-navigate to the file in question:
b) display a modal (or a new page, or a <select> element) that prompts for desired target langauge, then redirects to the Crowdin page for that language/filename pair on Crowdin.
If the visitor's locale is not the default, clicking "Translate this Doc" should take them straight to their language/filename pair on Crowdin. 🎯
I've created a module get-crowdin-file-ids that we weave into the output of the electron-i18n module, so we generate these "straight to the right translation page" URLs from the website.