Changes

Jump to navigation Jump to search
1,534 bytes added ,  13:22, 31 March 2011
Created page with "BaseX is available in several languages (such as English, German, or Japanese). We are always thankful for contributions, and if you willing to contribute a new translation, plea..."
BaseX is available in several languages (such as English, German, or Japanese).
We are always thankful for contributions, and if you willing to contribute
a new translation, please proceed as follows:

==Using the JAR file==
JAR files are nothing else than ZIP archives.
All language files are placed in the <code>lang</code> directory inside the JAR file.
# Unzip the source file <code>English.lang</code> and name it to your language (e.g. <code>Zulu.lang</code>)
# Enter your name and potential contact information in the second line and translate all texts
# Copy the translated file back to the <code>lang</code> directory in the JAR file
# Start BaseX and choose your language in the GUI (''Options'' → ''Preferences...'')
# Restart BaseX, and you should see the changes

==Using the sources==
All language files are placed in the <code>src/main/resources/lang</code> directory of the main project:
# Create a copy of the source file <code>English.lang</code> and name it to your language (e.g. <code>Zulu.lang</code>)
# Enter your name and potential contact information in the second line and translate all texts
# Translate all given texts
# Compile the project, start BaseX and choose your language in the GUI (''Options'' → ''Preferences...'')
# Restart BaseX, and you should see the changes

To see where the texts are used within BaseX, it is recommended to set the LANGKEYS property in the <code>.basex</code> configuration file to true. You will find the file in your [[Configuration#Home_Directory home directory]].
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu