Beep6581 / RawTherapee

A powerful cross-platform raw photo processing program
https://rawtherapee.com
GNU General Public License v3.0
2.76k stars 313 forks source link

Change format of translation files #5314

Open glixx opened 5 years ago

glixx commented 5 years ago

To be easy translatable I suggest to change format of translation files on: key=value Not too many changes in code, but using Mozilla PROPERTIES file (.properties) is better for translators. Transifex supports Mozilla PROPERTIES file (.properties).

So just to change the first ; in all strings on =.

glixx commented 5 years ago

sed 's/;/=/1' default > rawtherapee_en.properties sed 's/;/=/1' Russian > rawtherapee_ru.properties etc.

Thanatomanic commented 5 years ago

Mozilla PROPERTIES file (.properties) is better for translators

Can you elaborate on that? You are suggesting only a minor change, but why we should change this at all? Only to be able to use Transifex?

glixx commented 5 years ago

To use any tools, appications, transifex that support properties files.

Beep6581 commented 5 years ago

@glixx please link to a specification of "Mozilla PROPERTIES" and to a list of software which supports it.

glixx commented 5 years ago

This is almost Java properties utf8 format.

AleksiKl commented 4 years ago

Could the Poeditor be used in this project?

mkyral commented 4 years ago

Could the Poeditor be used in this project?

Not directly. I'm using custom scripts to convert RT language file to .po and back. https://github.com/mkyral/rawtherapee_l10n

mkyral commented 4 years ago

I don't use that page, but maybe you can use simple conversion to csv.

vomikan commented 1 year ago

I have set up synchronization of my project with crowdin.com . Now all transfers are made by a team of volunteers online. Synchronization with the repository is automatic. It's convenient.

https://crowdin.com/project/moneymanagerex