unisonweb / website

Main Unison website
MIT License
8 stars 6 forks source link

Explore support for i18n #60

Open rlmark opened 1 year ago

rlmark commented 1 year ago

Capturing this from recent conversations with community members: one thing that would increase the reach of Unison's presence and accessibility would be to support i18n in some capacity for our website.

Considerations:

gfinol commented 1 year ago

Could be interesting to have a "language selector" (button, menu or thing) in Unison share and in the local UI for Doc types. Therefore, for a given term or type in unison, we could link more than one Doc file, maybe one per language.

One way to do it could be to add the international language code (ISO 639-1 or similar) at the end of the name. So, if we have the term myFunction:

This way, the GUI in Unison Share should just count how many languages are available and display them in the language selector.

Of course, adding i18n or any other programmatic translation tool, could help to speed up the process.

For the record, I'll leave here what Android does with the strings.xml file. Because I find it a good way to address the problem.