Development > Translate
There are two options for translation WikyBlog: online and offline.
Online
We've set up the site ptrans.wikyblog.com to try to simplify the translation process. All you have to do is go to the WikyBlog Project Page, select the language you want to translate, then begin translating.
Offline
The offline instructions for translating WikyBlog's language files follow as if you were creating a polish (pl) translation.
- Open the file "/include/lang/en/specPreferences.php" and add the following line
$lang['lang']['pl'] = 'Polish (pl)';
- Copy the files from /include/lang/en to newly created folder /include/lang/pl
- Then you can translate the files within your new directory by changing the strings on the right-hand side of the file. For example in the file specPreferences.php, you might change
$lang['lang']['pl'] = 'Polish (pl)';
to $lang['lang']['pl'] = 'Język polski (pl)';
Note:
- The most important files to translate are the index.php, SPEC.php, lang.js, toolOptions.php and register.php files.
- You can download uncompressed javascript files from sourceforge.net.
- lang.js.php will have the exact same text as lang.js and does not need to be translated individually.
- You can change your interface language by modifying your "Preferences", accessible via your "Control Panel".