This is a short introduction in writing a translation for NumeRe. All you need is a simple text editor, the basic language files and a bunch of time. If you have open questions, please contact the administrator of this project.
A translation file contains three major parts: comments (indicated by a #
at the beginning of a line), identifiers (usually in uppercase letters and at the beginning of a line) and the actual language strings (after the identifiers and a additional =
, probably containing some place holders %%1%%
or %%COMMON_YES_NO%%
):
#This is a comment
THIS_IS_A_IDENTIFIER=This is the actual language string and a %%PLACEHOLDER%%
NumeRe contains two major language files: <>/lang/main.nlng
and <>/lang/error.nlng
. The first contains all the language strings for usual interaction, whereas the second contains all error messages. There are three further files prefixed with tmpl_*.nlng
. These contain templates for scripts, plugins and files. Note, that the comments in these files will be copied to the generated file.
tbd
tbd