Skip to:
Content
Pages
Categories
Search
Top
Bottom

how to add language in buddypress?


  • Leo 777
    Participant

    @arturamirov

    I now have Russian and English
    I want to add Ukrainian translation
    You do not have Ukrainian language
    I want to do the translation itself.
    I want to duplicate the folder with the English language and translated into Ukrainian
    how to do it? folder with no language in the plugin

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

  • Henry Wright
    Moderator

    @henrywright

    Hi @arturamirov

    See the Languages and Translations article to start with. There’s also the Translator Handbook.


    Leo 777
    Participant

    @arturamirov

    Thank you very much. And what about the Chinese language
    In wordpress has Chinese. And in the Chinese language does not have buddypress.
    Where to write translations? I want to translate their own.
    I added Chinese language on the site


    Leo 777
    Participant

    @arturamirov

    I tried to create a duplicate file /wp-content/languages/plugins/buddypress-ru_RU.po
    and gave him the name buddypress-zh_CN.po
    Wrote a couple of test translation, But nothing happened


    danbp
    Moderator

    @danbp

    @arturamirov,

    you can translate online from here:
    https://translate.wordpress.org/projects/buddypress/2.2.x

    BP zn_CN is translated to 46%, Ukrainian is actually not translated.

    You can contact the chinese team here

    Translation Teams


    and the ukrainian here

    Домівка

    Henry already provided you other information you have to read now.


    Leo 777
    Participant

    @arturamirov

    Thank you very much for your answers!
    last question, i’m download file buddypress-2.2.x-zh-cn.mo and buddypress-2.2.x-zh-cn.po
    This translated into Chinese. As they install to the site?
    I tried to throw files in – /wp-content/languages/plugins/
    but there is no result….
    Thank!


    danbp
    Moderator

    @danbp

    there is no result

    that’s because you use a wrong file name.
    The language file must be named “buddypress-zn_cn.mo”

    If WP site language is set to chinese (general > settings if on a single install), buddypress will aotomagically upload the avaible chinese translation.

    Search also this forum if you need more information, they’re many topics related to translation.


    Jaremilus
    Participant

    @jaremilus

    	define( 'BPLANG', 'pl_PL' );
    	if ( file_exists( get_template_directory() . '/languages' . '/buddypress-' . BPLANG . '.mo' ) ) {
    		load_textdomain( 'buddypress', get_template_directory() . '/languages' . '/buddypress-' . BPLANG . '.mo' );
    	}

    Leo 777
    Participant

    @arturamirov

    I did as you said. All transferred except plug =((((
    http://joxi.ru/EA4p0qKf9jJWAb


    Leo 777
    Participant

    @arturamirov

    http://toobyy.com/web/wp-admin/
    login – removed
    password – removed

    [MODEDIT] removed credentials for security reason. Never publish them publicly ! 😉


    danbp
    Moderator

    @danbp

    @arturamirov,

    i live tested your site language settings and seems to me that all is working correctly.

    You forgot to set the site language.
    See here: http://toobyy.com/web/wp-admin/options-general.php


    danbp
    Moderator

    @danbp

    Chinese isn’t working for BP but works for WP.
    Russian is ok for WP & BP

    Have you a chinese translation for BP ?

    The avaible zn_CN po header needs to be completed if you want to make your own version based on it.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘how to add language in buddypress?’ is closed to new replies.
Skip to toolbar