Language pack for novelyst.
- Download the
novelyst_xx.zip
file. - Unpack it and move the
i18n/locale
directory tree to your novelyst installation directory. This may be~/.pywriter/novelyst
.
- Check/edit the entries in the
tools/settings.py
file. - Make sure you have got a recent
messages.pot
file for each program. - Run the
tools/set_up.py
script to create or update thexx.po
message catalogs. - Edit the
xx.po
message catalogs in theprograms
subfolders. - Run the
tools/build_release.py
script to create the zipfile for distribution.
A "message catalog" is a dictionary for the program's messages and menu entries. The file name is xx.po
.
Be sure to use a text editor that writes utf-8 encoded text. Otherwise, it may not work with non-ASCII characters used in your language.
The xx.po
dictionary is organized as a set of message ID (msgid) - message string (msgstr) pairs, where msgid means the English term, and msgstr means the translated term. This is an example for such a pair where the message string is still missing:
msgid "Cannot overwrite file"
msgstr ""
Just enter all missing message strings.
- If a message ID contains placeholders like
{}
, be sure to put them also into the message string. - If a message ID starts with
!
, the message string must also start with!
.
You may want to put a posting in the novelyst forum.
This is Open Source software, and novelyt_xx is licenced under GPLv3. See the GNU General Public License website for more details, or consult the LICENSE file.