Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'translation'

Viewing 25 results - 401 through 425 (of 1,098 total)
  • Author
    Search Results
  • #183841
    danbp
    Participant

    @shanebp,
    forcing a translation is not the best solution, even if it is a solution.
    Mine by hacking the core file is not better, as we loose it at the next update.
    Your function won’t be loosed, but it should be used by caution, as gettext pass a second time on ALL strings. It’s not dramatical to force the translation for one string, but what will happen if someone use this trick for 20, 50 or more strings ? Performance trouble !

    I’ll track this further before opening a ticket.

    https://codex.wordpress.org/Plugin_API/Filter_Reference/gettext
    https://codex.wordpress.org/Plugin_API/Filter_Reference/gettext_with_context

    #183835
    wpleo
    Participant

    Not yet @DarioZ.

    It seems to be a huge bug, because lots of people have this issue and no real solution can be found. I don’t want to give up BP, so I have my website running with this problem in translation.

    If you find something, please share here. I’ll certainly do the same.

    #183699
    Guillaume
    Participant

    I put the first text in English, and the second text area the new french translation and IT WORK 🙂

    THANKS !!

    #183697
    Guillaume
    Participant

    So I just put all this code in the function.php of my theme

    and change this :
    if ( $text == ‘View all posts filed under %s‘ ) {
    return $translations->translate( ‘See all articles filed under %s‘ );

    Do I need to also change something else inside this code ?

    Should I put the text in english or in french like it appear on the site ?

    #183364
    @mercime
    Participant

    @levre Something got lost in translation, not quite clear what you mean. What I’m getting is that you have a WP Multisite installation and you have BuddyPress network-activated. I gather that you want separate instances of BuddyPress in that multisite installation. That is not possible at this time except through plugins see https://buddypress.trac.wordpress.org/ticket/4732

    #183363

    In reply to: Friend request Issue!

    Art Lo
    Participant

    I am using this one: http://themeforest.net/item/jarida-responsive-wordpress-news-magazine-blog/4309191
    I have also deactivated all plugins and change to wp default themes but nothing seems to help.
    The other plugin I use is BuddyPress Translations. I deactivate everything but nothing helps.

    #183193
    wpleo
    Participant

    Thank you @shanebp!

    You’re right, I found this strange _x. But it didn’t make the translation work for me.

    I got this bp-custom.php:

    define( ‘BPLANG’, ‘pt-br’ );
    if ( file_exists( WP_LANG_DIR . ‘/buddypress-‘ . BPLANG . ‘.mo’ ) ) {
    load_textdomain( ‘buddypress’, WP_LANG_DIR . ‘/buddypress-‘ . BPLANG . ‘.mo’ );
    //echo “FOUND IT!!”;
    }

    I’m pretty sure that this fil is being read and that the language file is being found because of the flag that I put: “FOUND IT!!”. In fact everything is being translated but the titles! No title got the proper translation, like:

    http://astronomia.blog.br/forum-astronomia/atividades/ (Sitewide Activity)
    http://astronomia.blog.br/forum-astronomia/pessoas/ (Members)
    http://astronomia.blog.br/forum-astronomia/grupos/ (Groups)

    Each one of these expressions is translated in the .po and .mo, acording to Loco Translate.

    Already deleted the pages and re-created it but nothing.

    I’m still trying, if I find a solution I’ll post it here.

    Thanks for the help!

    #183185
    danbp
    Participant

    Yes, I did search before asking, but this 2 string are so hard to match in the search results.

    The problem is not the strings, but the translation of them. And this is most probably a theme issue or a wrong path to BP’s translation.
    You can check this point by activating one of WP’s default template. If it’s translated, you know the culprit.

    It might just be that the theme author needs to update the theme to be compatible with the latest WP and BP versions. As we have no access to the premium theme, best place to ask is the theme’s support forums or contact theme author.

    If you’re comfortable with code, here’s a workaround. Be aware that this does not solve the problem, but only ignore it.

    #183180
    danbp
    Participant

    @dreamwork
    WP version ?
    BP version ?
    Theme name ?
    Used Plugins ?

    Did you search on this forum before asking ?

    #183061
    Morgan Kay
    Participant

    I just figured out how to do this the other day and wrote a blog post about it:

    Using BuddyPress Language Files to Customize Headers and Messages

    I hope that helps!

    #182948

    In reply to: Translation problem

    danbp
    Participant

    Hi 3×7 !

    since 2.0 BP is loading automatic translation; This means that if you had a previous version installed, with a correct translation, that the new one is now active.

    Check in the wp/content/languages/ directorythe /plugins/ folder who maybe contain buddypress-xx_XX.mo/po files and it’s possible that you have also buddypress-xx_XX in the /languages/

    Open the po file and take a look to header. Normally you will see the version number.

    If you use a custom po/mo for your BP, put these files in the wp/content/languages/plugins/

    See also in your theme and avoid to use buddypress-xx_XX.mo from /buddypress/bp-languages/ (as a reminder)

    More details about translation, here and here.

    BP translation for all languages are now on translate.wordpress.org. If you’re a translator or if you want to contribute, i encourage you to participate on this projet. 😉

    #182732

    In reply to: Language of Item-Nav

    danbp
    Participant

    Of course you can change these tab labels.
    Read here and here for general information.

    It’s possible that the problem comes from your theme or a plugin. You have to debug…:evil:
    First thing to check is the content of your language folder.
    Normally buddypress-xx_XX.mo/po files are in wp-content/languages/
    See also if you have a “plugin” folder in “languages”. Maybe you have a second buddypress-xx_XX.mo in it. In this case, it is this file who has priority over the other. If you have a custom translation, you have to place it in this folder anyway.

    Second thing to check are the theme/(possible)plugin translation vs. BP translation.

    FYI, since BP 2.0, WP/BP/bbP translations are automatically updated from Translate WordPress (Glotpress), but you have to ensure that you have the correct version. Simply open the .po file with a text editor like notepad++ and read the header content.

    If the above debuging process have no result, here’s a good solution by Alex ( @viper007bond) to “force” a translation or customizing an existing.
    Successfully tested on BP 2.01 ! 😉

    #182351
    danbp
    Participant

    Hi,
    see if you have a folder named “plugins” in the wp-content/languages/ directory. If yes, you can put the buddypress po/mo there. This folder content has priority over “languages” content.

    FYI, the file who make translation possible is not the po, but the mo file !

    #181988
    danbp
    Participant

    This string doesn’t exit in WP, BP or bbP:
    ERROR: The username or password you entered is incorrect. Lost your password ? Do you use a custom login plugin ?

    All po/mo used for a WP/BP install are located in wp-content/languages.

    Can you test the translation by activating Twenty thirteen and have you tested without any plugin except BP ?

    What theme do you use and site URL please !

    #181943
    danbp
    Participant

    ola !
    I have no idea, but some paths…

    First, if you altered the user.php, it’s the wrong way, because it’s a core file. Translation modification should only be done in the po/mo file

    Secondly, you have a special character (tilde) in the word contraseña. Would probably be more secure that you use the HTML entity for this.

    Don’t know what you did before the errors screen, but you have to go back to a previous stage, without errors. Deactivate all plugins, except BP. Remove the WP translations files from the languages folder, and try to enter your install in english…

    Please read more about BuddyPress language here.

    #181929
    Friendsandcash
    Participant

    Thanks for your quick reply, danhp; I founded it and modified the text; however, the issue is much bigger now; after changing the text “Lost your Password” by ¿Has perdido tu contraseña?” (which is the spanish translation), I can´t log in. The system returns several error messages like this:
    “Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘wp_validate_logged_in_cookie’ was given in /home2/esaguado/public_html/wp-includes/plugin.php on line 192”
    I have replaced the hole file by the local one, which hadn´t been modified, but the result is the same: It is not possible to log in.
    I´m lost, do you have any idea on how to solve this BIG PROBLEM?

    #180716

    In reply to: Translation Issue

    Renato Alves
    Moderator

    I’m aware that BP 2.0 have some bugs related to translation. Are you using a version before 2.0?

    #180715

    In reply to: Translation Issue

    In the buddypress.pot file, the translations that aren’t working are between lines…

    1892-1897

    and between…

    6149-6152

    #180650
    danbp
    Participant

    hi !

    BP nb_NO translation is here: https://translate.wordpress.org/projects/buddypress/1.9.x
    For further question, take contact here:
    https://make.wordpress.org/polyglots/
    or in your language here:
    https://no.wordpress.org/

    #180349
    danbp
    Participant

    Please write in english on this forum ! 😉

    Normally you can download pt_br.po/mo files from
    https://translate.wordpress.org/projects/buddypress/1.9.x

    Have also look here:
    https://make.wordpress.org/polyglots/

    Maybe read here too:
    https://codex.wordpress.org/L10n:Localization_Teams#Portuguese_.28Portugal.29_-_Portugu.C3.AAs_.28Portugal.29

    Or see what you can find here
    http://wp-translations.org/

    danbp
    Participant

    hi @pascalh,
    your issue maybe related to your theme or a custom function you use.

    The original “notifications” string is in bp-notifications/bp-notifications-loader.php:109
    Check the po file first
    If you made a custom function to get the menu, check that function.

    Be aware that the words “notifications”, “friends” and “groups” are coming with a count and that this counter is included in the translation within a html span tag. This is technically the point who made such translation not showing in some case. Because gettext is not very compleasant with html tags… So the problem can also be the strictness of the php version on use on your server.

    You can test this by writing your translation without using the span tag. (meldingen %d for example). If this ok, you’ll be fixed.

    #178435
    somethingelse
    Participant

    don’t care so much what’s in the URL… the clients/members for this particular site are teachers from all over the world, many of whom wouldn’t know what i was talking about if i used the term “url” … at this point i just want the TEXT wherever they see it to be “photo” instead of “avatar”…

    thanks @nat0n, i’ll check those files… we are using a translation plugin, so hopefully if i change the english, the rest will follow suit… is there even a non-english translation for “avatar”?? ;P

    #178433
    Anton
    Participant

    You could edit the .po/.mo files and do a custom translation there, I’ve done so on a Swedish site, should work for English sites too, using the right locale.

    But +1 for replacing once and for all what many people think is an animated 3D movie title, with something that is a bit more descriptive 😉

    #178348

    In reply to: testing translations

    danbp
    Participant

    Hi @jf_trumpet,

    the plugin you’re speaking about is intented for load your BuddyPress with translations provided by translate.wordpress.org

    This means that if you’re site is in swedish, the plugin will automatically upload the swedish BP translation. Or similar if you’re site is in italian.

    If you need some multilingual settings you have to use another plugin, like WPML for example.

    More about BuddyPress translation and internalization here.

    Normally you declare the site language from within the wp-config.php file.
    For ex. define (‘WPLANG’, ‘it-IT’);
    If you just want to test ONE other language, simply change this define to another language.

    Be also aware that you can only define one language in wp-config.

    #178085

    In reply to: >> French PO

    danbp
    Participant

    hi @aniclip

    it’s not a bug, you just try to translate something that doesn’t exist in the original file !
    The exact string is Notify group members of these changes via email

    If you’re using BP 1.9 the string to translate looks like this in the po file:

    5912 #: bp-templates/bp-legacy/buddypress/groups/single/admin.php:26
    5913 #: bp-themes/bp-default/groups/single/admin.php:26
    5914 msgid “Notify group members of these changes via email”
    5915 msgstr “Signaler par mail les changements aux membres du groupe”

    If you need the fr_FR translations, you can find them here:
    https://i18n.trac.buddypress.org/browser/fr_FR/tags

    And in the future, also here:
    https://translate.wordpress.org/projects/buddypress/dev/fr/default

    And of course, any information about translating BP in french is on the french BuddyPress site: http://bp-fr.net

Viewing 25 results - 401 through 425 (of 1,098 total)
Skip to toolbar