Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'translation'

Viewing 25 results - 476 through 500 (of 1,381 total)
  • Author
    Search Results
  • Henry Wright
    Moderator

    @micasuh _e( $text ) will search for the translation of $text and print it to screen. If a translation doesn’t exist, it’ll print $text. You might also come across __( $text ). This does the same but it returns instead of printing.

    So yeah, these functions are definitely related to translating.

    micasuh
    Participant

    @henrywright I think I found a pattern in that text that doesn’t render always has <?php _e( at the beginning, which is in relation to the translation file, right?

    Henry Wright
    Moderator

    @micasuh the .mo file is most likely being loaded from your theme’s functions.php file. Alternatively, it may be loaded from a plugin. Or, maybe even bp-custom.php (if you have one of those).

    Look for something such as the following and try removing it to see if it resolves the issue:

    if ( file_exists( WP_LANG_DIR . '/buddypress-en_US.mo' ) ) {
        load_textdomain( 'buddypress', WP_LANG_DIR . '/buddypress-en_US.mo' );
    }

    If it doesn’t resolve the problem then we know your translation file is OK.

    If you still believe the issue is a virus in your database then you could try rolling back. Do you keep database backups? But, to be honest, I’m more inclined to think this is occurring as a result of some rogue theme or plugin code.

    danbp
    Participant

    Hi @rutzki,

    are you responding to yourself ?
    i dont find, where i have put in the german translation in the po file.
    😀

    If you use poEdit, you can create your own copy of de_DE.po directly from the source on your local buddypress copy.

    The .po file header information necessary to get all translatable strings:

    
    msgid ""
    msgstr ""
    "PO-Revision-Date: 2014-08-06 02:16+0100\n"
    "MIME-Version: 1.0\n"
    "Content-Type: text/plain; charset=UTF-8\n"
    "Content-Transfer-Encoding: 8bit\n"
    "Plural-Forms: nplurals=2; plural=n > 1;\n"
    "X-Generator: Poedit 1.5.7\n"
    "Project-Id-Version: BuddyPress 2.0.2\n"
    "POT-Creation-Date: \n"
    "Last-Translator: \n"
    "Language-Team: \n"
    "Language: de\n"
    "X-Poedit-SourceCharset: UTF-8\n"
    "X-Poedit-Basepath: .\n"
    "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
    "_n_noop:1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c;esc_attr__;"
    "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
    "X-Poedit-SearchPath-0: ..\n"

    https://codex.buddypress.org/developer/translations/

    Rutzki
    Participant

    Hi,

    i have the same problem, that notification etc. is not translated and i dont find, where i have put in the german translation in the po file.

    Can u upload your file, or copy and paste the few lines here?

    cheers,
    Patrick

    bp-help
    Participant

    @henrywright
    Nothing in /wp-content/languages is touched during an upgrade just as a child theme also is not touched during a parent theme upgrade. Whomever conveyed using a language file is bad practice for translation is terribly misinformed. You are right by not agreeing Henry. The fact is this particular files directory has to be created by the admin in cpanel, ftp, or whatever they use for their server and is not replaced nor overwritten with core upgrades.

    Henry Wright
    Moderator

    The reason I ask the question is due to the following reply I received on a question I asked here

    The gist of it was the use of a language file is bad practice and any translations made in a language file are overwritten on WordPress upgrade. However, I’m not sure I quite agree. What are your thoughts?

    danbp
    Participant

    see here the answer from @shanebp.
    He listed all notification instance in the po file

    Maybe you have an idea what that could be?

    You give the answer: once translated to German and once not.
    Guess if something is not translated, you can’t see it. 😉

    It could also to be that if you added the header infos to your po, that your translation plugin found immediatly some forgotten strings or new ones and added them, so you saw those unstranslated strings.

    I suggest you to update the po file from the source using poEdit locally, for example from within bp-languages/buddypress-de_DE.po, to ensure that you have all 1476 strings of BP 2.0.2

    Once done, you remove the po/mo from bp-languages and put them into wp-content/languages/plugins/

    danbp
    Participant

    Hallo @findolfin,

    Effectively, many peoples are claming about de_DE translation issue.

    As the german translation for BuddyPress awaible on GlotPress is only translated to 52% (58% for 1.9!), the only other source to get po/mo files is deckerweb who provides 2 versions, Du and Sie version for BP 1.9 (latest in january 2014)

    I downloaded the Sie version and opened the po. This file doesn’t contain any header information. So i guess gettext can’t read it correctly. And if you use this file it could be at the origin of your issue.

    Here are the whole header informations, including the whole keywords list like _x which you need to add into your german buddypress-de_DE.po
    Open the file with a text editor (notepad++ or similar) and paste it at the beginning of the file.

    Once done, you must open the modified po with poEdit and save it again, to generate the mo file which is in fact the compiled format of the translation used by gettext.

    msgid ""
    msgstr ""
    "PO-Revision-Date: 2014-08-08 09:45+0100\n"
    "MIME-Version: 1.0\n"
    "Content-Type: text/plain; charset=UTF-8\n"
    "Content-Transfer-Encoding: 8bit\n"
    "Plural-Forms: nplurals=2; plural=n > 1;\n"
    "X-Generator: Poedit 1.5.7\n"
    "Project-Id-Version: BuddyPress 2.0.2\n"
    "POT-Creation-Date: \n"
    "Last-Translator: \n"
    "Language-Team: \n"
    "Language: de\n"
    "X-Poedit-SourceCharset: UTF-8\n"
    "X-Poedit-Basepath: .\n"
    "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
    "_n_noop:1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c;esc_attr__;"
    "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
    "X-Poedit-SearchPath-0: ..\n"

    Check this first and if it does not work, give feedback. And also theme name in case of. 😉

    Findolfin
    Participant

    My Buddypress Version: 2.02
    My WordPress Version: 3.9.2
    http://www.ikino.ch (Pass for website access: hallo16)
    testuser: guest
    pass: guest

    Hello

    I read that a lot other people had this problem but no older topic could help me 🙁
    I use the German translation for my site but in the activity overview 3 tabs are not translatet:

    Notification, friends, messages

    But in the translation this words are translated.

    I already tried to remove the <span> – tag in the German translation as mentioned here:
    http://buddypress.org/support/topic/words-notifications-friends-groups-are-not-translated/

    The words are always in English it doesn’t matter if there is a notification or not.

    #186054
    LucidStrike
    Participant

    I use Transposh for translation on my site, and, if I have the option for search engine friend URLs enabled in Transposh, visiting a BuddyPress area of the site apparently results in an infinite loop that Firefox has to abort. When I disable the search engine friendly URL option in Transposh, everything works out…except that my translated areas aren’t search engine optimized anymore.

    BuddyPress 2.0.2
    Wordpress 4.0

    Is there a way to address this?

    #185816
    danbp
    Participant
    #185793
    danbp
    Participant

    Before installing any plugin, consider this translation into persian from the official translation repo for WP/BP/bbP
    https://translate.wordpress.org/projects/buddypress/dev/fa/default

    You can also contribute to this persian translation. Everithing to do so is explained on Goltpress.

    #185788
    noyzen
    Participant

    Hi
    how to translate BP in my language? i can’t fine any translation for version 2.0.1
    [Persian]

    what editor should i use?
    some help BP people.

    thanks

    #185715

    In reply to: count & no-count !?!

    danbp
    Participant

    Hi @noyzen,

    if you only updated BuddyPress, it’s possible that the translation file contains an error.

    Check your .po file for any strings looking like this one

    https://buddypress.trac.wordpress.org/browser/tags/2.0.1/bp-languages/buddypress.pot#L3464

    Example: Groups <span class=\"%s\">%s</span> or Members <span class=\"%s\">%s</span>
    If correctly translated, perhaps is something wrong in your theme or child theme or even a plugin.
    in this case, you should check the file indicated above the string to translate.
    %s is very important to stay in the translation and in the original file to get the count

    agilitylink
    Participant

    Hi, I cannot get the friend requests to work on my site. I do not have the buttons “add friend” or “request friend”. Because I do not have these buttons I cannot get the private messaging to work since no friend connections have been made.

    I have Buddy Press Version 2.0.1
    Word Press 3.9.1
    Customizer Free Child Theme
    My website is http://www.linkcaninecoaching.com

    Plugins are:

    bbPress
    Version 2.5.4 | By The bbPress Community | Visit plugin site

    bbPress Admin Bar Addition
    Version 1.7.1 | By David Decker – DECKERWEB | Visit plugin site | FAQ | Support | Translations | Donate

    bbPress WP Tweaks
    Version 1.3.1 | By veppa | Visit plugin site

    BuddyPress
    Version 2.0.1 | By The BuddyPress Community | Visit plugin site

    Contact Form 7
    Version 3.8.1 | By Takayuki Miyoshi | Visit plugin site

    ManageWP – Worker
    Version 3.9.29 | By ManageWP | Visit plugin site

    s2Member Framework
    Version 140614 + s2Member Pro v140614 | By s2Member / WebSharks, Inc. | Visit plugin site

    WP Show IDs
    Thank you for your help!

    #184347
    Matt Sutton
    Participant

    I am transferring my site from Ning to buddypress, and I prefer to purchase a premium theme. I already bought KLEObut would like to try at least one more. I need the following features: a blog page for my end users can submit their own posts, translation ready, and good 3rd party plugin support.

    #184341
    cedrix
    Participant

    I have a website under BuddyPress 2.0.1, wordpres 2.9.1. I am using the theme parabola, and BuddyPress Translations (my wordpress is in french).
    The button «Supprimer» (in english it is «remove») doesn’t display well. Is it normal?
    bug button buddypress

    Regards,

    Cédric

    shanebp
    Moderator
    #183849
    danbp
    Participant

    it’s not the theme
    it’s not the translation
    seems to be somthing unstable with bp-loader
    sometimes i have things translated, sometimes not ! Stuning ! 👿

    #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 ?

    #183690
    vivianny
    Participant

    I just installed the plugin to translate buddypress on my website. It’s working fine but I just want to tweak the translation on the registration page a little bit.

    The files are location here plugins/buddypress-translations/pomo/ – I did the updates that I want but the translation is not changing. I even installed the plugin again with the updated file but it did not work.

    How can I solve this problem? Thanks!

Viewing 25 results - 476 through 500 (of 1,381 total)
Skip to toolbar