Translation Howto

From PsiWiki

Jump to: navigation, search

Contents

[edit] The new Git-based system

This tutorial explains some basic steps needed to work with Git

[edit] Translate Psi to your Language

Have a look at http://pv.et-inf.fho-emden.de/ to see if your language already exists.

[edit] Language already exists

Ask on the mailing list if someone is already working at your language. If none of the former translators are active anymore, you can start away.

Are you familiar with Git?

[edit] Yes

git clone git://pv.et-inf.fho-emden.de/git/psi-l10n-xx.git   # replace xx by your language code
cd psi-l10n-xx   # replace xx by your language code
[edit files]
git add [modified or created files]
git commit   # Explain your changes in the upcoming editor window and save+exit
git format-patch origin/master

Now there are patch files created for each commit you made. The files have the format "0001-commit-message.patch". Send those files to the l10n coordinator (schwarzerf at gmail com) or the mailinglist (psi-lang at lists affinix com). The coordinator will commit your changes to the archive and notify you about it afterwards. If you do not get an answer withing a week, try again. Maybe your mail got stuck in a spam filter.

[edit] No

Go to http://git-pv.et-inf.fho-emden.de/ and download the files for your language. Update them and see the previous section for email addresses to send the files to.

[edit] Create a new language

Basically it is the same as with an already existing language except for one step. Request your language on the mailing list and wait for approval. Your language will appear in the archives shortly after and you can start.

Personal tools