bbPress

Simple, Fast, Elegant

bbPress support forums » Installation

Language

(14 posts)
  • Started 1 year ago by motionitem
  • Latest reply from daga
  • This topic is not a support question
  1. motionitem
    Member

    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 1 year ago #
  2. 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 1 year ago #
  3. motionitem
    Member

    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 1 year ago #
  4. motionitem
    Member

    Can anybody help on this?

    Posted 1 year ago #
  5. 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 1 year ago #
  6. motionitem
    Member

    What's the difference between mo and pot file?

    Posted 1 year ago #
  7. .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 1 year ago #
  8. helgetry
    Member

    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 1 year ago #
  9. daga
    Member

    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 5 months ago #
  10. goranlin
    Member

    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 5 months ago #
  11. The filename and the BBLANG definition have to be the same.

    So sv_SE.mo should have:

    define('BBLANG', 'sv_SE');

    Posted 5 months ago #
  12. goranlin
    Member

    Thank you sambauers! It works now.

    Posted 5 months ago #
  13. 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 5 months ago #
  14. daga
    Member

    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 5 months ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.