oferkv / phototonic

Image Viewer and organizer
GNU General Public License v3.0
159 stars 43 forks source link

Portuguese translation didn't work. #239

Closed mnwstl closed 6 years ago

mnwstl commented 6 years ago

Hello! I installed the new version, but the translation to the Portuguese did not work. I checked that there are the files phototonic_pt.QM and PHOTOTONIC_PT.TS, but the program was in English.

FreeSlave commented 6 years ago

In Phototonic translations are taken from resources, not external files, and phototonic_pt.qm is not included in resources. Add it to phototonic.qrc and recompile.

mnwstl commented 6 years ago

I downloaded the files and in the folder "Phototonic-master/Translations/" There are the files mentioned. When I compiled and installed and the files were not recognized.

FreeSlave commented 6 years ago

@mnwstl does it work for you on the latest master?

oferkv commented 6 years ago

For me it does BTW, but I'm testing like this: ./phototonic -l pt

FreeSlave commented 6 years ago

Yeah, but I mean for Portugal locale. For me it works if I start with LANGUAGE=pt_PT environment variable.

mnwstl commented 6 years ago

OK! It looks good!