Skip to:
Content
Pages
Categories
Search
Top
Bottom

Where should I place the language files?


  • OC2PS
    Participant

    @sooskriszta

    I am using the bbPress WP plugin. Where should I place the language files?

    The only reference to language files I could find in documentation is for the standalone version. http://bbpress.org/documentation/installation/ and says the files need to be placed in “my-languages”

    I tried placing the .po and .mo files in bbp-langauges, languages and my-languages folders within the bbpress plugin directory. None of this worked.

    Please help!

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

  • OC2PS
    Participant

    @sooskriszta

    Turns out the location is wp-content/languages/bbpress/ and not anywhere inside your bbpress plugin folder.

    Also, the name of your file should be of the format bbpress-de_DE.mo not simply de_DE.mo

    Finally, you should download the file from https://translate.wordpress.org/projects/bbpress/plugin/ not from http://svn.automattic.com/bbpress-i18n/

    In order to download the file, click on the language you want, then scroll down to the bottom of the page, and hit Export.

    I wish bbpress.org included all this in their documentation. The existing documentation has nothing to do with how bbPress work now…all documentation is really for the discontinued standalone version.

    I still didn’t manage to get bbPress translated from English. Is it enough to set the WPLANG in wp-config.php or do I need to change some other settings?

    ¡Gracias! la información fue utilísima para mí. Efectivamente, deberían incluirla en la documentación de BbPress.

    Saludos desde Paraguay.

    Wow… thanks a lot for the help… one can’t guess it indeed…

    one more tip : when on translate.wordpress.org, beware that the translations for your language may be not validated yet. The default export link exports only “current” translations, i.e. validated ones. Use “Only the matching filter” option and you will be able to export all the messages.

    use the “file” unix command to check the content of the .mo file. e.g.

    $ file wp-content/languages/bbpress/bbpress-fr_FR.mo

    GNU message catalog (little endian), revision 0, 732 messages

    by using the default export, I was only retrieving one message, and thus nothing was translated…


    OC2PS
    Participant

    @sooskriszta

    Also, the name of your file should be of the format bbpress-de_DE.mo not simply de_DE.mo

    Actually that has changed now. If you download the file from https://translate.wordpress.org/projects/bbpress/plugin/ then it will have the correct name already, which would be in the format bbpress-plugin-de.mo


    vaantti
    Participant

    @vaantti

    Actually that has changed now. If you download the file from https://translate.wordpress.org/projects/bbpress/plugin/ then it will have the correct name already, which would be in the format bbpress-plugin-de.mo

    The ‘plugin’ part in the name has to be removed. I wrote all the steps required to change the language in my blog: http://www.anttivaihia.com/blog/2012/06/how-change-language-bbpress-20

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Skip to toolbar