SMF Translation FAQIf you have questions, please send a message to
languages@simplemachines.org.
In which language can I translate SMF?
You can translate SMF in every language you want, except the ones who are already done (visit the
language page for more info). Please remember that you have to speak the language very well to provide the users a complete and good translation. If you're not sure whether the language is already started, take a look at the
language boards and ask there.
What do I need to translate SMF?
You need the actual
english language files and a text editor with UTF-8 support - for example:
A button set generator, for instance,
Marco van Veelen's Button Generator.
How do I start?
After downloading on of the english language files, uncompress them in a folder on your PC. It'll look like this:
smf_1-1_english (or smf_1-1_english-utf8) |- Themes |- babylon | |- images | | |- english | |- languages |- classic | |- images | | |- english | |- languages |- default |- images | |- english |- languages
|
--> Babylon buttons --> Babylon language files
--> Classic buttons --> Classic language files
--> Default buttons --> Default language files
|
- Open the .php files with the text editor and translate the text between the single quotes after the equivalence sign:
$txt['mboards_new_cat'] = 'Create new category';
$txt['mboards_new_board'] = 'Add Board';
Remove the comments "// Untranslated!" if you translated the string!
- If you have to use single quotes in the strings, please use a backslash before it. Otherwise, the language file will be useless.
$txt['smf285b'] = 'It wasn\'t necessary to optimize any tables.';
- Please use numeric HTML Entities (look here) instead of any special character in the language strings. You don't have to use HTML Entities if you create an UTF-8 package.
$txt['sendtopic_comment'] = 'Kommentar hinzufügen';- You can add credits into the admin area by editing "Admin.xxx.php" -> line 52 -> $txt[644]. Add "<br />" and your text after the word "functions.".
- Don't do the following things with the language package:
- add language strings from mods
- add additional pictures
- add credits other than the above mentioned
- add text that does not one-on-one translate to the english text
- translate comments
What files do I have to translate?
- You've to translate all the language files and the buttons of the babylon and classic theme.
- If you want to translate 1.0.x packages, you can also translate the .xml files located in the 'help' folder.
Please translate only the '.xml' files!
I finished the translation, what's next?
Make sure that you've at least one package: An ANSI encoded or an UTF-8 encoded package. Compress the files including folders with
Winzip,
WinRAR or any other archiving program using the
.zip format, normal compressing ratio and send the files to my
email address.