Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of Hugo

Localization problem. (8 posts)

Started 1 year, 11 months ago by: Stef

  • Profile picture of Stef Stef said 1 year, 11 months ago:

    I’m having troubles setting the language to dutch.
    This is what I’ve got.

    - define (‘WPLANG’, ‘nl_NL’); in the wp-config.php
    - buddypress-nl_NL.mo in the buddypress/bp-languages folder
    - nl_NL.mo in the wp-content/languages folder
    - Settings in WPMU Options to Dutch.
    - Dropdown in the “Settings” menu set to Dutch

    Am I missing something?

  • Profile picture of abcde666 abcde666 said 1 year, 11 months ago:

    where is that option Ray, when running WPMU ?

  • Profile picture of r-a-y r-a-y said 1 year, 11 months ago:

    1) Download your BP language files from:

    http://i18n.svn.buddypress.org/

    Make sure you grab the release that is specific to your BP version

    And add them to /wp-content/bp-languages/

    2) Add this to your /wp-content/plugins/bp-custom.php file:
    define( 'BPLANG', 'YOURLOCALE' );
    if ( file_exists( WP_CONTENT_DIR . '/bp-languages/buddypress-' . BPLANG . '.mo' ) ) {
    load_textdomain( 'buddypress', WP_CONTENT_DIR . '/bp-languages/buddypress-' . BPLANG . '.mo' );
    }


    Just tested it, works for me.

  • Profile picture of abcde666 abcde666 said 1 year, 11 months ago:

    Many thanks Ray for your efforts !

    Do you also have a clue on that one ?

    http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/translate-wording-for-page-httpdomain-comwp-login-php/

  • Profile picture of r-a-y r-a-y said 1 year, 11 months ago:

    Just updated the instructions.

    The updated instructions are much easier as you don’t need to download translation files for Wordpress.

    Re: your other question – You’ll need to download your Wordpress language file and add them to /wp-includes/languages/

    http://codex.wordpress.org/WordPress_in_Your_Language

  • Profile picture of Stef Stef said 1 year, 11 months ago:

    That’s it!
    Thanks a lot Ray!

  • Profile picture of abcde666 abcde666 said 1 year, 11 months ago:

    @Stef78

    have you also been able to get the page “domain.com/wp-login.php” translated into your local language ?
    I am still struggling to achieve this.

  • Profile picture of Stef Stef said 1 year, 11 months ago:

    Not all text is set to the right language in wp-login.php. But username/password/register/lostpassword are set automatically.
    But in another install I changed what’s left by hand. Works great.