Lighter than a feather.

You are not logged in.

#1 2016-04-03 15:35:23

Registered: 2016-04-03
Posts: 2

Translations would be nice

FeatherBB lacks translations.
What I know there is only english.

We need some tutorial on how to translate.

I have installed Poedit. It is for work with .po files.

We need:
- German
- French
- Spanish
- Portuguise
- Netherlands
- Russian
- Swedish


#2 2016-04-04 20:52:24

From: France
Registered: 2015-07-03
Posts: 31

Re: Translations would be nice

Hi halojoy,

French translations are already present in the development branch.
If you want to translate FeatherBB into another language, all you have to do is copy the English folder as "German" for example, open the German/*.po files in PoEdit, translate each entries, then generate MO files from it.
You can also do it in your favorite text editor : translate all the sentences in "msgstr" fields (do not touch "msgid" fields), then re-open .po files with PoEdit, and compile them to MO files!

I'll try to see with adaur where we could add a complete doc, which is one of the next big thing we have to do.

Thanks for your report Wink


#3 2016-04-06 06:51:53

Lead developer
From: France
Registered: 2015-06-05
Posts: 94

Re: Translations would be nice

Hello there!

Maybe we could FluxBB's translation and the PHP convertor I used to create the french translation:

 * PHP arrays to po file

$fh = fopen("users.po", 'w');
fwrite($fh, "#\n");
fwrite($fh, "msgid \"\"\n");
fwrite($fh,  "msgstr \"\"\n");

include 'users.php';

foreach ($lang_admin_users as $key => $value) {
    $key = addslashes($key);
    $value = addslashes($value);
    fwrite($fh, "\n");
    fwrite($fh, "msgid \"$key\"\n");
    fwrite($fh, "msgstr \"$value\"\n");


Board footer

[ Generated in 0.053475 seconds, 6 queries executed - Memory usage: 1.42 MiB (Peak: 1.46 MiB) ]