Topic: Translation of ConfTool to other languages  (Read 40860 times)

I would like to translate ConfTool to another language or update a translation, how does that work?

Each language is defined in a "language file". It's a simple text file with the following structure:

Code: [Select]
S_LOGIN_TITLE=ConfTool Conference Administration
S_LOGIN_FORMTITLE=Account Login
S_LOGIN_NEWUSER=First time here?
S_LOGIN_CREATEACCOUNT=Register new
S_LOGIN_CREATEACCOUNT_PARTICIPATE=Create account and register for conference

The part left of the "=" is the system code to identify the text, the part right of the "=" is the text to be shown in the system.

Lines starting with "#" are remarks, do not translate these lines.

%1, %2, %3 in the text are place holders and will be replaced by the system with a system-generated string or number.
Example:
Code: [Select]
S_USER_REG_EMAIL_PROSPECT_CONTENT1=Thank you for registering your interest in the event "%1". Here %1 will be replaced with the name of the conference.

You will also sometimes find "HTML" code in the text file. Example:
Code: [Select]
S_USER_REG_EMAIL_REGARDS=With best regards,<br>Your %1 organizers.
The code < br> stands for line break (new line) and must not be changed.
Please refer to: http://www.conftool.net/en/configuration_documentation/html_basics.html

We can also send you a translation file that has the following structure:
Code: [Select]
#S_USER_REGISTRATION_DATE=Registered at
S_USER_REGISTRATION_DATE=Registrace

#S_USER_LOGIN_DATE=Last login at
#| S_USER_LOGIN_DATE=Last login at

#S_USER_LOGIN_NEVER=User has not yet logged in.
S_USER_LOGIN_NEVER=Uživatel se dosud neprihlásil.

#S_USER_LOGOUT_DATE=Logout at
#| S_USER_LOGOUT_DATE=Logout at

The first line is the text in English (we can also provide other languages for this file), the second line is the translated text. If a line starts with #| (both symbols!) the line has not been translated yet.
It is often helpful to consider the lines below and above, to see the terminology used and to keep the translation consistent.