Visualino Forum

Development => Core Development => Topic started by: aishen on 2016-December-13 10:42:19 pm

Title: How to translate blocks ?
Post by: aishen on 2016-December-13 10:42:19 pm
I would like to translate blocks in french. How does it works ?
I work on ubuntu and I translated the interface, meanwhile I can't yet get it in french so I rename my file en-GB just for me to see how it's well translated.
Now I would like to translate blocks. Is it possible without compilation, because I can't compile it on ubuntu qt5 serial doesn't work et qt4 serial can't compile.
Title: Re: How to translate blocks ?
Post by: Víctor R. Ruiz on 2016-December-13 11:47:35 pm
Thanks for your work!! I received your interface translation in Github (the correct version) and it is now in the repository.

To translate the blocks, just go to https://github.com/vrruiz/roboblocks/tree/master/lang (https://github.com/vrruiz/roboblocks/tree/master/lang) and use one of the files as template for French. A regular editor can be used. When it is ready, I will generate a new version with the French translation included :)
Title: Re: How to translate blocks ?
Post by: aishen on 2016-December-13 11:52:20 pm
Fine... Thanks
Title: Re: How to translate blocks ?
Post by: aishen on 2016-December-13 11:57:29 pm
I forked lang/fr-Fr.js, but I noticed it's nearly all done ?
Am I wrong again ?
Title: Re: How to translate blocks ?
Post by: Víctor R. Ruiz on 2016-December-14 11:14:46 am
Yeah, it was nearly complete. Your corrections are already merged :)