Login  Register

Re: Brazilian Portuguese Translation

Posted by bgpiraja on Jun 13, 2014; 5:15pm
URL: https://forum.librecad.org/Brazilian-Portuguese-Translation-tp5709045p5710052.html

Hi for all!

More one time, Brazilian Portuguese translation it's complete.

Cheers,

--
Bruno Gonçalves Pirajá


Em Terça-feira, 29 de Outubro de 2013 18:49, LordOfBikes [via LibreCAD] <[hidden email]> escreveu:


Hi Bruno,

the translation files are build in the postprocess script, which should be called at the end of the application build process and is located in the scripts folder. Which script is used depends on your operating system.

This script calls the lrelease tool which generate qm files from the ts files. The qm files, librecad_??.qm and plugins_??.qm should be in the resources/qm/ folder inside the application folder. So you can check, if these files are up to date. Replace the ?? with the code of your language.

You can generate the qm files manually with the Qt Linguist tool. Open a ts file in Qt Linguist and use File->Release to generate the associated qm file. Copy the qm files into the resources/qm folder to use it.

Beside the LibreCAD qm files you need a qt_??.qm file. LibreCAD uses standard dialogs from Qt libraries, e.g. the file open/save dialogs. The button labels are still in English, if you don't have the qt_??.qm file. You have to look on the Qt site or your Qt installation if there is a localisation file for your language. If a qm file exists, copy it into the resources/qm folder too. If there is no qt_??.qm file for your language, one option is to find the qt_en.ts file in the Qt sources, copy it to qm_??.ts and translate it with Qt Linguist.

Hope, this answers some of your questions.

Armin


If you reply to this email, your message will be added to the discussion below:
http://forum.librecad.org/Brazilian-Portuguese-Translation-tp5709045p5709099.html
To start a new topic under LibreCAD-dev, email [hidden email]
To unsubscribe from Brazilian Portuguese Translation, click here.
NAML