WebThingsIO / mozilla-iot.github.io

Mozilla IoT Website
20 stars 12 forks source link

option to select other languages #18

Closed geryescalier closed 4 years ago

geryescalier commented 6 years ago

Goal The website has an option to select other languages

Problem Currently in many countries it is not common to read or write in English and when accessing pages with information in English you lose interest in using that information

Solution Allow choosing native language on the website

kgiori commented 6 years ago

I like this idea.

Check out http://snap4arduino.rocks/run as an example of a quality program with language support -- it is one of my faves. Click the settings menu (gear icon) and select "Language..." and any language that someone has translated the blocks and menus into will be listed. The project is 100% open source so should be feasible to look at that architecture. I also know the developers who built it in case we want to ask more questions. screen shot 2018-02-14 at 7 46 51 pm

benfrancis commented 6 years ago

Check out http://snap4arduino.rocks/run as an example of a quality program with language support -- it is one of my faves.

Note that this issue is about translating our website at iot.mozilla.org, not the gateway interface. I imagine Mozilla has existing mechanisms to deal with localised website content, we just need to find out what they are.

Localising the gateway UI is a separate, and trickier, issue.

mikehenrty commented 6 years ago

Tools Suggestion: Fluent for your front-end library, and Pontoon for your community translation tool.

We are going through the process of translating the website content for the Common Voice project right now, and I I highly recommend these two tools in conjunction. They are already quite feature rich, yet still in active development, and you can leverage Mozilla's existing l10n community.

benfrancis commented 6 years ago

Thanks @mikehenrty !

geryescalier commented 6 years ago

Right @mikehenrty the idea is to use pontoon, mention it in the Mozilla forum

One of the requirements is that the website has the option to select other languages.

This is the link with the details

Implementing Pontoon in a Mozilla project https://developer.mozilla.org/en-US/docs/Mozilla/Implementing_Pontoon_in_a_Mozilla_website

geryescalier commented 6 years ago

hello @benfrancis does it take help to be able to adapt the website for Potoon? https://developer.mozilla.org/en-US/docs/Mozilla/Implementing_Pontoon_in_a_Mozilla_website I can ask the friends of Mozilla Hispano to help us

benfrancis commented 6 years ago

Let me look into this a bit further and come up with a design for a language switcher. Proposals in pull requests also welcome!

geryescalier commented 4 years ago

Hello @benfrancis a very practical option for the community to support with translations is the way of working of MDN Mozilla https://wiki.developer.mozilla.org/en/docs/MDN/Contribute/Localize/Project:Translating_MDN_pages is a wiki , this format allows communities of different languages to work on translations in a very simple way, this allows greater participation and strengthens the community.

benfrancis commented 4 years ago

Hi @geryescalier, unfortunately a wiki is not a good fit for our website or the gateway (that link didn't work for me BTW).

We now have a mechanism for localising the gateway, we just need to hook up with Pontoon to manage the contributions.

geryescalier commented 4 years ago

Hi @geryescalier, unfortunately a wiki is not a good fit for our website or the gateway (that link didn't work for me BTW).

We now have a mechanism for localising the gateway, we just need to hook up with Pontoon to manage the contributions.

Good thing to do for Pontoon! Is there an approximate date so that you can work with Pontoon and be able to perform the translations?

benfrancis commented 4 years ago

Is there an approximate date so that you can work with Pontoon and be able to perform the translations?

Not currently, no. We're going to look at this once the 0.10 release is over this week.

geryescalier commented 4 years ago

Is there an approximate date so that you can work with Pontoon and be able to perform the translations?

Not currently, no. We're going to look at this once the 0.10 release is over this week.

Thank you very much I will be attentive when available, to be able to help with the translations.

mrstegeman commented 4 years ago

Duplicate of #64.