lovasoa / whitebophir

Online collaborative Whiteboard that is simple, free, easy to use and to deploy
https://wbo.ophir.dev
GNU Affero General Public License v3.0
2.17k stars 417 forks source link

Translation improvements #104

Open lovasoa opened 4 years ago

lovasoa commented 4 years ago

The following changes were suggested by @ovari in https://github.com/lovasoa/whitebophir/pull/103#issuecomment-654673440 :

lovasoa commented 4 years ago

One file per locale

Should be pretty easy to achieve. Just update this line in templating.js to iterate over multiple files instead of reading a single file.

Support for locale variants

This may be a little bit more work. We should check that all the dependencies support that. See

Make Go translatable

See https://github.com/lovasoa/whitebophir/blob/master/client-data/index.html#L59 It should be translated in all currently supported languages. An alternative is to just remove the value attribute, and the browser will display a label in the user's language.

ovari commented 4 years ago

Transvision, a tool provided by the French Mozilla community, lists locales in the Source Locale and Target Locale drop-downs.

lovasoa commented 4 years ago

@ovari : I don't understand. What is your point ?

ovari commented 4 years ago

Thought it might help. Unfortunately it didn't. Please disregard. Thanks

lovasoa commented 4 years ago

I added your point from #103 here. If you want to make pull requests to address one or several of the points above, it will be very appreciated :)