Yash uses GNU gettext to localize printed messages.
To add translation for a new language:
- Fork and clone this repository.
- Install make and gettext.
- Run
./configure
. - Enter the
po
directory and runmake
. - Run
msginit
. This command creates a new po file with a name corresponding to your current locale. - Edit the po file adding translation for each message.
- Commit the file, push it to GitHub, and make a pull request.
To update existing translation, follow the steps above except that
you edit the existing po file instead of creating a new one with msginit
.
Outdated translations are marked as fuzzy
by the gettext tool.
Remove the fuzzy
mark and correct the translation.
The manual is written in the asciidoc format and converted to HTML and manpages by asciidoc. Preparing the manual for a new translation is not very automated: A few files have to be copied by hand. Possibly you might have to localize asciidoc before translating the manual. Please let me know if you are interested in translating the manual.