Info
- 20 posts
- 13 voices
- Started 5 years ago by motionitem
- Latest reply from nim_design
- This topic is not a support question
Language
-
- Posted 5 years ago #
I search and read probably everything about localization, but didn't have any luck updating correctly bbpress.
Where do i put/copy the .pot file. Is the .mo file necessary? Where do I copy that? I need a step by step tutorial on how to make the translation work.
Thanks so much.
-
- Posted 5 years ago #
Just upload the .mo file to bb-includes/languages and edit config.php:
change:
define('BBLANG', '');
to suit your language, for example:
define('BBLANG', 'es_ES');
(in this case, the .mo file is called es_ES.mo).
-
- Posted 5 years ago #
Ok. What about the fact that the .mo file doesn't contain all the words (translated) specific to bbpress?
What's the .pot file for?
-
- Posted 5 years ago #
Can anybody help on this?
-
- Posted 5 years ago #
If some strings are not translated it's cause they are missing to be included nto the internationalization functions, and this is a bug, You can open a ticket on trac about untraslated strings so they will be corrects annd included into pot. file.
For info about internationalizion and stuff you can refer to WordPress COdex searching for internationalizazion and localization, the info you will find there arcan be applied to bbpress also.
-
- Posted 5 years ago #
What's the difference between mo and pot file?
-
- Posted 5 years ago #
.pot file contains only the string that need translation (ie english), .po file is the translation file that contains original strings and translated ones, that is compiled to generated .mo file.
-
- Posted 5 years ago #
Where can I found language files? If there isn't any language file for Norwegian, I would like to create one - but I need a file to base my file upon.
-
- Posted 4 years ago #
I installed version 0.8.3.1 succsessfully. Then I changed the config-file as written, before installing a .mo-file in /bb-includes/languages. The .mo file is based on the 0.8.3 bbpress.pot file. I´m pretty sure this is done correctly. But nothing happens. Same old english language everywhere. Any suggestions how to make the localization work - anybody ?
-
- Posted 4 years ago #
I have started a forum at http://www.goranlin.se/bbpress/
I created a folder in the bb-includes folder and called it languages. In it I placed the file sv_SE.mo (for Swedish) and changed the config.php to
define('BBLANG', 'sv_SV');
But the forum is still in English, what did I do wrong? Please, help! -
- Posted 4 years ago #
The filename and the BBLANG definition have to be the same.
So sv_SE.mo should have:
define('BBLANG', 'sv_SE');
-
- Posted 4 years ago #
Thank you sambauers! It works now.
-
- Posted 4 years ago #
Doesn't work overhere though:
I put the file nl_NL.mo into
bbpress/bb-includes/languages/changed the config file to:
define('BBLANG', 'nl_NL');and it doesn't work.
-
- Posted 4 years ago #
Maybe the config file, the .mo file and the language folder has to be setup before the installation. Anyway I reinstalled doing that and noe its working OK.
-
- Posted 3 years ago #
Just upload the .mo file to bb-includes/languages and edit config.php:
change:
define('BBLANG', '');
to suit your language, for example:
define('BBLANG', 'es_ES');
(in this case, the .mo file is called es_ES.mo).
-
- Posted 3 years ago #
Strange :-)
I have a: "nl_NL" mo file in the folder: "my-languages" in the root of my installation of bbPress, and it just works just fine ;-)
-
- Posted 2 years ago #
Thx, bruinfelix!
I've read a post about installing languages into the bb-includes/languages folder in in bbpress, but it simply doesn't work for me. I think it was an older version (not 1.0 RC, which I currently use). In the RC your setting was the good solution. ("my-languages" folder). And of course the editing of define('BBLANG', ''); in the config.php.
-
- Posted 1 year ago #
I have this problem now. I am doing a remake of the kakumei-theme and a have just got a hold on a sv_SE.mo, swedish that is, file witch I have copied into bbpress/my-languages.
I have changed the bb-config.php string to
define( 'BB_LANG', 'sv_SE)' );
But nothing is happening, still english. What am i doing wrong? Does there need to be some bbpress template tag in the header that I accidentally deleted or something like that?
Really need some input!
-
- Posted 1 year ago #
Where can I find the .mo and .po-files for the Swedish translation?
-
- Posted 1 year ago #
-
You must log in to post.