whatsinstandard icon indicating copy to clipboard operation
whatsinstandard copied to clipboard

Translate content

Open barbier opened this issue 7 years ago • 6 comments

Is there anyway to translate the content of the site?

barbier avatar Mar 04 '17 00:03 barbier

I'd love to do it, and I'll keep this issue open as a TODO. There's a bit of coding groundwork I'd need to do first, and I don't actually speak any other languages so I'd need to have people volunteer to translate.

There's also currently no backend code, since we're hosted on GitHub, so I'll have to figure out a way to detect browser language from only JS if one exists. If one doesn't, I'll either move us to AWS and write some backend code to pass Accept-Language back to the frontend, or have people manually select their language with a dropdown.

glacials avatar Mar 21 '17 19:03 glacials

I can translate it to portuguese! Maybe the app can read some json files and render the text depending on browser language? For reference: http://stackoverflow.com/questions/8199760/how-to-get-the-browser-language-using-javascript

barbier avatar Mar 24 '17 13:03 barbier

Wow nice! That's exactly what I needed.

glacials avatar Mar 24 '17 18:03 glacials

If a framework ends up being used, there may be some plugins/addons to help facilitate implementation.

zulaica avatar Apr 30 '17 20:04 zulaica

I can help with italian if needed! :)

inuyasha82 avatar May 18 '17 11:05 inuyasha82

Note to future self / other people implementing: see #79, as there is currently a set only legal only in China.

glacials avatar May 21 '18 16:05 glacials