Skip to:
Content
Pages
Categories
Search
Top
Bottom

Changin bbPress Language


  • Daniel.Haugen
    Participant

    @danielhaugen

    Hi, I’ve searched around the web for some hours now and hopefully I’ll get the correct answer from you.

    I need to translate the plugin bbPress into Norwegian, I’ve fetched the translation from http://translate.wordpress.org/projects/bbpress/dev/nb/default and made sure every string is there with the .po editing software Poedit. I’ve downloaded both .po and .mo file for the Norwegian translation.

    Norwegian is activated generally as WordPress language already.

    So the problem is the localization and naming of the files, I’ve tried different directories and names:
    wp-content/languages/bbpress-nb_NO.po and .mo
    wp-content/languages/bbpress-nb.po and .mo
    wp-content/languages/bbPress/bbpress-nb_NO.po and .mo
    wp-content/languages/bbPress/bbpress-nb.po and .mo
    wp-content/plugins/bbPress/languages/bbpress-nb_NO.po and .mo
    wp-content/plugins/bbPress/languages/bbpress-nb.po and .mo
    wp-content/plugins/bbPress/languages/bbpress-langauge-nb_NO.po and .mo
    wp-content/plugins/bbPress/languages/bbpress-langauge-nb.po and .mo
    wp-content/plugins/bbPress/languages/bbpress-plugin-nb.po and .mo
    wp-content/plugins/bbPress/languages/bbpress-plugin-nb_NO.po and .mo

    None of them seems to work, what is the correct localization and naming?

Viewing 8 replies - 1 through 8 (of 8 total)

  • Stephen Edgar
    Moderator

    @netweb

    Hmmm…. Looking at http://codex.bbpress.org/bbpress-in-your-language/

    Takes me here …http://codex.wordpress.org/WordPress_in_Your_Language#Bokm.C3.A5l_.28nb_NO.29

    Now I presume we should be using `nb_NO` thus `bbpress-nb_NO.po` & `bbpress-nb_NO.mo`

    Try uploading the files names above to `/wp-content/languages/bbpress/` and ensure as per your example above that the bbpress folder is not spelled with a capital P (i.e. NOT bbPress, just bbpress)


    Daniel.Haugen
    Participant

    @danielhaugen

    Hmmm…. Looking at http://codex.bbpress.org/bbpress-in-your-language/

    Takes me here …http://codex.wordpress.org/WordPress_in_Your_Language#Bokm.C3.A5l_.28nb_NO.29

    Now I presume we should be using nb_NO thus bbpress-nb_NO.po & bbpress-nb_NO.mo

    Try uploading the files names above to /wp-content/languages/bbpress/ and ensure as per your example above that the bbpress folder is not spelled with a capital P (i.e. NOT bbPress, just bbpress)

    Yeah the folder name for bbpress had a capital, I changed it but it made no difference.


    Stephen Edgar
    Moderator

    @netweb

    What is in your wp-config?


    Stephen Edgar
    Moderator

    @netweb

    Is there anything here that will help?

    http://norskwp.no/forums/


    Daniel.Haugen
    Participant

    @danielhaugen

    What is in your wp-config?

    In wp-config I’ve set the same language as I’m trying to get bbPress in, nb_NO

    The Norwegian WordPress forums doesn’t help much in this problem I’m sorry, some of them had the same problem before but they never came up with a solution. Also, the posts is old, and it seems a lot of directories has changed since then.


    Stephen Edgar
    Moderator

    @netweb

    Using `define(‘WPLANG’, ‘nb_NO’);` in /wp-config.php
    `/wp-content/languages/nb-NO.mo`
    `/wp-content/languages/nb_NO.po`
    `/wp-content/languages/bbpress/bbpress-nb_NO.mo`
    `/wp-content/languages/bbpress/bbpress-nb_NO.po`

    It looks like ‘most’ of what strings have been translated is working correctly.

    null


    Daniel.Haugen
    Participant

    @danielhaugen

    Using define(‘WPLANG’, ‘nb_NO’); in /wp-config.php
    /wp-content/languages/nb-NO.mo
    /wp-content/languages/nb_NO.po
    /wp-content/languages/bbpress/bbpress-nb_NO.mo
    /wp-content/languages/bbpress/bbpress-nb_NO.po

    It looks like ‘most’ of what strings have been translated is working correctly.

    Where did you fetch the translation from?


    Stephen Edgar
    Moderator

    @netweb

    Apologies… I should have clarified that in my last post…

    bbPress .po & .mo http://translate.wordpress.org/projects/bbpress/dev/nb/default
    WordPress .po & .mo http://translate.wordpress.org/projects/wp/dev/nb/default

    I am also using WordPress 3.6 Beta and bbPress 2.3 RC1

Viewing 8 replies - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.