Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'translation'

Viewing 25 results - 626 through 650 (of 1,142 total)
  • Author
    Search Results
  • #127391
    Guga123
    Member

    Where should I put the files?

    #127390
    Guga123
    Member

    The language is portuguese

    #127388
    @mercime
    Participant

    Kudos @aces :-)

    #127386
    aces
    Participant

    What language?

    I have just helped someone with Turkish at the end of the following topic: https://buddypress.org/community/groups/localization/forum/topic/turkish-language-pack-issue/

    #126869
    @mercime
    Participant

    == And this is a forum? no answer ==
    Know that 99.9% of those who help out here are volunteers living in different time zones.

    Also, something is getting lost in translation. What exactly do you want to do? As far as I can gather from your posts, you want to move the avatar upload page into the user’s profile page, and that you want that page to be presented like the “theme my login plugin” options page? If that’s the case, it would be a rather complicated process and there’ s no plugin for what you want.

    #126557
    aces
    Participant

    @princehemo10

    It’s really difficult to help as I don’t understand arabic and google translate isn’t much use in this situation.

    It’s also unhelpful that there doesn’t seem to be an official arabic translation of buddypress ( or here or here )….

    ( https://codex.buddypress.org/extending-buddypress/customizing-labels-messages-and-urls/ )

    Does it work with bp-default theme?

    If it’s the premium theme from http://www.theme-junkie.com/themes/freshlife/ then they might provide support for it on their forum: http://www.theme-junkie.com/forum/

    #125638
    Paul Wong-Gibbs
    Keymaster

    Have you loaded a translation file for WordPress, too?

    #124863
    aghahowa
    Member

    Who made this translation anyway?

    #124659

    In reply to: Multi-language edition

    Quint
    Participant

    Native translation based on the local language setting would be sweet. So, Geneveve in France posts her comment/post in French, and when it pops in the activity stream anywhere, that French post is automatically translated to the native language. THEN to take it to the next level, let’s say someone is tutoring the language. The tutor should have the ability to enclose the text he/she doesn’t want translated per the language tutoring exercise; thus, only the text that requires translation is automatically translated. If you’re gonna dream, dream big! ;-)

    Buddypress enables so many possibilities…

    #124274
    r-a-y
    Keymaster

    Make sure you are using the most recent BuddyPress translation file to do your translation:
    /wp-content/plugins/buddypress/bp-languages/buddypress.pot

    If you need to merge an older translation file with the newer BuddyPress one, read this guide:
    https://codex.buddypress.org/extending-buddypress/customizing-labels-messages-and-urls/#poedit (scroll down to “Updating your custom language file”)

    #124240
    @mercime
    Participant

    I would place mo and po in wp-content/plugins/buddypress-activity-plus/languages folder

    #122978
    Paul Wong-Gibbs
    Keymaster

    And you’ve got the WP_LANG set correctly, and are also loading a translation for WordPress itself? Is that code snippet in your first post how you’re actually trying this? Which file did you add that to? I don’t think that should be necessary :)

    #122945
    Nahum
    Participant

    I’m now seeing that it’s only some translations that don’t take….for example.

    %s became a registered member
    Posted an update

    In poedit, i don’t know if this matters, but on the text that doesn’t work I get back an error under Show References where the text that does work shows where the text is referenced — so that’s that.

    btw i’m using a child theme with bp template pack

    #119726
    @mercime
    Participant

    @tommyhoang use language file to change the text or add this to your functions.php file
    `class Tommys_Translation_Mangler {
    function filter_gettext($translation, $text, $domain) {
    $translations = &get_translations_for_domain( $domain );
    if ( $text == ‘You will auto join this group when you reply to this topic.’ ) {
    return $translations->translate( ‘Feel free to reply.’ );
    }
    return $translation;
    }
    }
    add_filter(‘gettext’, array(‘Tommys_Translation_Mangler’, ‘filter_gettext’), 10, 4);`

    Reference: http://blog.ftwr.co.uk/archives/2010/01/02/mangling-strings-for-fun-and-profit/

    #119610
    @mercime
    Participant

    Something’s getting lost in translation. Avatars are the images representing the members of the BuddyPress installation. Albums are photo galleries. What exactly are you asking about? WordPress has forums in different languages, perhaps there is one in your language.

    #118424
    Stigmartyr
    Member

    If you want to change the actual names of the links, I did this by editing the language .pot file

    But I’m not sure if that is the recommended method. I wanted to change My Blogs to My Sites:

    For 1.2.9, translate the po file from buddypress/bp-languages directory.
    Save the translation as buddypress-en_US.mo [if your local is en_US) else buddypress-your_Locals.mo in the bp-languages directory and you will be done.

    Poedit is a great tool for translation.

    Stigmartyr
    Member

    Answer to my question:

    It is already My sites in BuddyPress 1.5.

    For 1.2.9, translate the po file from buddypress/bp-languages directory.
    Save the translation as buddypress-en_US.mo [if your local is en_US) else buddypress-your_Locals.mo in the bp-languages directory and you will be done.

    Poedit is a great tool for translation.



    Thanks @brajesh

    #117907

    In reply to: How would I?

    akyleadam
    Member

    @mercime also your example failed. I keep all functions I write in a separate folder in a lib folder, and called that custom function via: include_once(TEMPLATEPATH . ‘lib/CustomFunctions/DisplayMessage.php’);

    How ever the message is un changed (the message I was cheking for was: The topic was created successfully

    and I testing by changing to: I am changed.

    This is the ode:

    class translator
    {
    function filter_gettext($translation, $text, $domain)
    {
    $translations = $get_translations_for_domain($domain);

    if( $text == ‘The topic was created successfully’)
    {
    return $translations->translate(‘I am changed’);
    }

    return $translation;
    }
    }

    add_filter(‘gettext’, array(‘translator’, ‘filter_gettext’), 10, 4);

    #117881

    In reply to: How would I?

    @mercime
    Participant

    @akyleadam what you’re trying to change was the text string “Topic created successfully” into e.g. “when submit is liked if the post was successful – do this instead of that” and the links I gave could do that.

    Take the first link, instead of creating a plugin, you can add this to your active theme’s functions.php – replacing the text string in that post to your own:
    `class PJW_Translation_Mangler {
    /**
    * Filter the translation string before it is displayed.
    *
    * @param $translation The current translation
    * @param $text The text being translated
    * @param $context The context for the translation
    * @param $domain The domain for the translation
    * @return string The translated / filtered text.
    */
    function filter_gettext($translation, $text, $domain) {
    $translations = &get_translations_for_domain( $domain );
    if ( $text == ‘Topic created successfully’ ) {
    return $translations->translate( ‘when submit is liked if the post was successful – do this instead of that’ );
    }
    return $translation;
    }
    }
    add_filter(‘gettext’, array(‘PJW_Translation_Mangler’, ‘filter_gettext’), 10, 4);`

    You see where I’ve substituted you own terms with that of the code given by Westi

    #117847
    aces
    Participant

    The code I posted worked for me, and I would suggest trying it first, then seeing if you would prefer other options from the google page linked to.

    #117846
    aces
    Participant

    Putting it in the header.php should work but might unnecessarily slow the site down a bit…..

    I don’t know your theme so I wouldn’t know where to put it precisely…. I put it above the “ tag and below “ – it is important that it doesn’t go anywhere between a “

    #117843
    dubsel
    Member

    im not sure where in the footer. u said appropriate area. wouldnt the header be better? i dont know . you are talking bout the link u gave me specifically right? not from the google translate i posted? cause i dont know where to put that

    #117842
    aces
    Participant

    You put the first bit in an appropriate area in the footer – If it works how you like it then you should probably include it via your theme’s functions.php file

    The second bit works in a text widget. Set up a text widget where you would like it and paste.

    It translates what it can…. If there are bits that you don’t want translated you can tag them….

    #117841
    dubsel
    Member

    being its buddy press does it, translate the whole site, buttons groups etc?

    #117838
    dubsel
    Member

    im using blogs mu theme. wondering looking at the the page http://translate.google.com/translate_tools

    where do i put the code exactly? footer ? header? idk, not sure. my site is http://www.yourwetideas.com , so idk if there is space for it with the theme. any suggestions? im very new to this. this would be the perfect solution if works.

Viewing 25 results - 626 through 650 (of 1,142 total)
Skip to toolbar