-
Notifications
You must be signed in to change notification settings - Fork 85
Localization
If you want to colaborate in translations there's two ways: sent throught a pull request by reading this wiki information page.
You can read also OwnCloud Documentation for more techical details.
The two modes of work, create a new locale support languaje or update a specific languaje.
Open the pot file in the template l10n
directory, e.g. /roundcube/src/main/php/l10n/templates/roundcube.pot
Create a new directory named as the new locale, by e.g /roundcube/src/main/php/l10n/es/
Open this file with a translate app, like Poedit, translate the keys and save it to the new locale folder, e.g /roundcube/src/main/php/l10n/es/roundcube.po
Once translater, then go to the app l10n
folder and run the translation updater script:
owncloud/roundcube/src/main/php/l10n: ../../../../../scripts/l10n.pl roundcube write
Then commit your changes with a pull request.
Go to the app l10n
folder and run the script (WARNING:
this will update all files):
owncloud/roundcube/src/main/php/l10n: ../../../../../scripts/l10n.pl roundcube read
Note take it in consideration commit in the pull, only you're related files, due all files will be touched; by e.g if your update are related to the newly created "es.php", then u must added in the git pull only this file, and does not use git add *
so will upload then more files rather that related to you.
-
U must have perl environment instaled in your system.
-
U must have PO module in the perl installation. (in debian by ex. run "apt-get install liblocale-po-perl"