Skip to:
Content
Pages
Categories
Search
Top
Bottom

Localization problem.

  • @stef78

    Participant

    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?

Viewing 7 replies - 1 through 7 (of 7 total)
  • @erich73

    Participant

    where is that option Ray, when running WPMU ?

    @r-a-y

    Keymaster

    1) Download your BP language files from:
    https://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.

    @erich73

    Participant

    @r-a-y

    Keymaster

    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/

    https://codex.wordpress.org/WordPress_in_Your_Language

    @stef78

    Participant

    That’s it!
    Thanks a lot Ray!

    @erich73

    Participant

    @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.

    @stef78

    Participant

    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.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Localization problem.’ is closed to new replies.
Skip to toolbar