Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'translation'

Viewing 25 results - 826 through 850 (of 1,381 total)
  • Author
    Search Results
  • #102586
    James
    Participant

    hi @modemlooper,
    could you help a bit on translation, I know it is just one word – Share (button), but…

    I added this line to bp-share-it.php:

    `load_plugin_textdomain(‘bp-share-it’,’/wp-content/plugins/buddypress-share-it/languages/’);`

    translation is loading, seems to work fine.

    question is how I can add translation tags to this code (as I understand this is exact place word “Share” comes from (one of them, all others are the same):

    `$shareit = ‘Share

    ‘;`

    thanks!

    #102559
    Boone Gorges
    Keymaster

    It is a translation function. Wrapping ‘Blog Posts Feed’ in _e() ensures that it appears in the .po file that translators use to create language packs. The ‘buddypress’ argument ensures that it is associated with the ‘buddypress’ textdomain (since potentially the same string might be translated in different ways when part of different software packages).

    The difference between __() and _e() is that _e() echoes the string to the screen.

    #18736
    duncan
    Member

    I have searched high and low for a clear explanation of this, but I can’t find one so I assume it’s so simple that nobody needs it explained.

    Except me.

    Why is my theme full of code like this

    “

    I thought _e() was a translation function. What is going on here?

    Please excuse my ignorance,

    Duncan

    José M. Villar
    Participant

    WOW.
    If U need any sort of translation to spanish, just let me know

    #102466
    Virtuali
    Participant

    No, use Transpoosh https://wordpress.org/extend/plugins/transposh-translation-filter-for-wordpress/

    it’s the best translator I have ever seen, it translates everything in buddypress + blog comments :D

    #18507
    perfwill
    Member

    I want my buddypress to work with a Vietnamese translation. I got the mo and pot Vietnamese translation files for buddypress and put them in the bp-languages folder.
    The WP_LANG in wp-config is already ‘vi’, and the BB_LANG in bb-config, too.
    I think buddypress should become vietnamese, but after all, it’s still English, the translation files are not working at all!
    Please help me, thank you very much.
    (I am sure that the translation files are ok)

    foxly
    Participant

    @el_terko

    Finish it and upload it to the task on the tracker then.

    If the other member submits their translation, we will distribute both of them with the plugin.

    Thanks!

    ^F^

    foxly
    Participant

    @el_terko

    https://www.pivotaltracker.com/story/show/7583287

    Another team member has ownership of the Spanish translation task. However, they have not confirmed that they have started on it yet.

    If they do not respond within 24 hours, I will let you start on it.

    Thanks for helping out!

    ^F^

    José M. Villar
    Participant

    I just requested to join your project at pivotal for spanish translation. Is it still needed ?

    foxly
    Participant

    Hey guys! Here’s your chance to help make the most popular media sharing plugin for BuddyPress even better!

    We’re getting ready to release BP-Album+ 0.1.8.6 THIS FRIDAY and we need some help translating it to as many languages as possible.

    :) Making a translation is REALLY EASY :)

    1) Download the translation file editor (poedit): http://sourceforge.net/projects/poedit/

    2) Download the plugin translation file: http://code.google.com/p/buddypress-media/downloads/detail?name=bp-album-0.1.8.6-2010-12-18.po

    3) Open it in poedit. Add your translation. Save it.

    4) Done!

    ===

    Have fun! Give back to the community! Be a hero to others that speak your native language! …follow this link to this post in our forum for all the details: http://bit.ly/htFg1Y

    Thanks!

    ^F^

    #100932
    @mercime
    Participant

    Sure. There’s one featured WordPress.tv presentation from WordCamp Yokohama. It’s a Japanese site (with English translation), http://loftwork.com, which only used BuddyPress components like Blog Tracking, Activity Streams, Private Messaging and Extended Profiles. Didn’t use Friends, Groups and Forums.
    –

    #100924
    @mercime
    Participant

    Rename the buddypress folder in wp-plugins via FTP or cPanel to deactivate BuddyPress.

    The correct translation in WP lingo is “You do not have sufficient permissions to access this page.” And while this was triggered by activating BuddyPress, it starts with your WordPress installation.

    There are plenty of threads in WP.org forums and Google search with different solutions to get back your Admin/Super Admin privilege in the installation. Good luck.

    #100448
    saltier
    Member

    Ok I didn’t manage to get the Dutch translation working but after a lot of trial and error I did manage to make a custom translation follwing these instructions step by step
    https://codex.buddypress.org/extending-buddypress/customizing-labels-messages-and-urls/

    #17234
    James
    Participant

    hi all,

    last few days tried to make my installation multilingual, result is very bad. All translation plugins on today bring issues to BP (qtranslate, transposh).
    maybe someone knows some easy way to switch languages/localizations (which are already installed) from the frontend, so that user would see words or flags, and I won’t have to install translation plugin?

    thank you!

    Oliver Fuhrmann
    Participant

    I have an Issue with the Autocomplete Function of bp-messages:

    The AJAX Function always puts in rows with crap content into the autocomplete list, when it doesn’t find real users:
    – As 10 is the Max Number of Users showd it always generates 10 Rows
    – If it finds Users, it fills the first rows with the users
    – the rest is filled with the first rows of the html body! why this?!

    the generated Autocomplete div looks like this (with one actual found member):
    <div style="display: block; position: absolute; width: 275px; top: 519.8px; left: 225.5px;" class="ac_results">
    <ul style="max-height: 250px; overflow: auto;">
    <li class="ac_event"><img width="15" height="15" class="avatar user-4-avatar" alt="Avatar Bild" src="http://www.gravatar.com/avatar/2d4295744122a2d5c31fde29b569409a?d=http://www.entrepreneurship.de/campus/wp-content/plugins/buddypress/bp-core/images/mystery-man.jpg&s=15"&gt; <strong>Ch</strong>ristian Fenner (<strong>ch</strong>ristianfenner)</li>
    <li class="ac_odd"></li>
    <li class="ac_event"></li>
    <li class="ac_odd ac_over"></li>
    <li class="ac_event"><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"></li>
    <li class="ac_odd"><title>Entrepreneurship Campus | Administrator | Messages</title></li>
    <li class="ac_event"><meta content="WordPress 3.0.1" name="generator"> <!– leave this for stats –></li>
    <li class="ac_odd"><link media="screen" type="text/css" href="http://www.entrepreneurship.de/campus/wp-content/themes/campus/style.css&quot; rel="stylesheet"></li>
    <li class="ac_event"><link campus="" title="Entrepreneurship" type="application/rss+xml" rel="alternate"></li>
    <li class="ac_odd"><link campus="" title="Entrepreneurship" type="application/rss+xml" rel="alternate"></li>
    </ul>
    </div>

    you can look it yourself at http://www.entrepreneurship.de/campus but the site is in german…

    the fun thing is, that, on another install, which is the development state of the website and very similar, but not same, the function works without the mentioned bug.

    Main differences of the installs:
    – Dev: Multisite WP3.01 Install, the Buddypress is installed in a “user blog”, Live: Single Site WP 3.01 install
    – Different Servers / Server Configurations

    Installation Details of the Systems:
    – WP 3.01, BP 1.2.6
    – Buddypress childtheme with almost all template files changed because of theme translation (but the theme is the same on both installs and also i tried to use standard theme which didn’t help)
    – Several Plug-Ins installed (But I deactivated all Plug Ins which didn’t solve the problem)

    I already tried to see myself through tje ajax functions of the autocomplete but i didn’t find anything that gave me a hint how to solve the problem…

    would be great if you came up with an idea how to solve this problem. if you need more information about the installation details, tell me!

    cheers, oli

    #97364
    danbpfr
    Participant

    I’m using a standard BP theme as child theme , and only for translation purpose.
    As you can compare with what is on pastebin, some code is wrong, also here on bp.org

    the return contains $text between backstick, but they are converted to < code >

    #97363
    danbpfr
    Participant

    i give a try here, using backticks
    `
    function bporg_decodeit( $matches ) {
    $text = $matches[2];
    $trans_table = array_flip(get_html_translation_table(HTML_ENTITIES));
    $text = strtr($text, $trans_table);
    $text = str_replace(‘
    ‘, ”, $text);
    $text = str_replace(‘

    ‘, ”, $text);
    $text = str_replace(‘

    ‘, ”, $text);
    $text = str_replace(array(‘&’,’&’), ‘&’, $text);
    $text = str_replace(”’, “‘”, $text);
    if ( ‘

    ' == $matches[1] )
    $text = "n$textn";
    return "`$text`";
    }
    `
    on my forum it is showing this
    http://bp-fr.net/groups/groupe-de-tests/forum/topic/another-test/
    Paul Wong-Gibbs
    Keymaster

    It’s best to ask someone more used to the translations format; I’ve not heard about this issue before. What about trying the wp-polyglots mailing list?

    #97056
    Boone Gorges
    Keymaster

    Here’s the code that does it on buddypress.org. It’s basically repurposed from bbPress.

    I had to replace the actual backtick with the phrase `[backtick]` so that it would render properly on this forum. Make sure to correct that in your version.

    `// Borrowed from bbPress
    function bporg_encodeit( $matches ) {
    $text = trim($matches[2]);
    $text = htmlspecialchars($text, ENT_QUOTES);
    $text = str_replace(array(“rn”, “r”), “n”, $text);
    $text = preg_replace(“|nnn+|”, “nn”, $text);
    $text = str_replace(‘&’, ‘&’, $text);
    $text = str_replace(‘<', '<', $text);
    $text = str_replace(‘>’, ‘>’, $text);
    $text = “$text“;
    if ( “[backtick]” != $matches[1] )
    $text = “

    $text

    “;
    return $text;
    }

    // Borrowed from bbPress
    function bporg_decodeit( $matches ) {
    $text = $matches[2];
    $trans_table = array_flip(get_html_translation_table(HTML_ENTITIES));
    $text = strtr($text, $trans_table);
    $text = str_replace(‘
    ‘, ”, $text);
    $text = str_replace(‘

    ‘, ”, $text);
    $text = str_replace(‘

    ‘, ”, $text);
    $text = str_replace(array(‘&’,’&’), ‘&’, $text);
    $text = str_replace(”’, “‘”, $text);
    if ( ‘

    ' == $matches[1] )
    $text = "n$textn";
    return "`$text`";
    }

    // Borrowed from bbPress. Makes code in backticks work, both in forum posts and in activity updates.
    function bporg_code_trick( $text ) {
    $text = str_replace(array("rn", "r"), "n", $text);
    $text = preg_replace_callback("|(`)(.*?)`|", 'bporg_encodeit', $text);
    $text = preg_replace_callback("!(^|n)`(.*?)`!s", 'bporg_encodeit', $text);
    return $text;
    }
    add_filter( 'bp_get_the_topic_post_content', 'bporg_code_trick', 1 );
    add_filter( 'bp_get_activity_content_body', 'bporg_code_trick', 1 );`
    #96525
    danbpfr
    Participant

    The pomo files you used were corrupted – po was not unicode compliant so the compiled mo file gives a wrong output.

    The solution was to replace these files.
    I found them here:
    https://i18n.trac.buddypress.org/browser/pl_PL/tags/1.2.6

    #96526
    Mark
    Participant

    Just wanted to say +10000000 to @Chouf1 who went above and beyond any level of help to get this fixed.

    #96431
    Mark
    Participant

    Yeah, so now I’m confused as to why the translation isnt working. Sooo frustrating!

    #96430
    danbpfr
    Participant

    This buggy message is annoying (a synchronizing delay between WP update service and your site), but not important.
    At the place where this message appears, you have option button who says “hide this option ?”.
    You can use it, or if the button does not appear, wait a few hours or can add this at the end of the file wp-includes/version.php
    $wp_local_package = ‘pl_PL’; (will be lost at the next WP update)

    #96428
    danbpfr
    Participant

    I have had the same text “WordPress 3.0.1 is available! Please update now.” appearing on the admin page. Should be a bug, but don’t be affraid of it, your site is updated. View the version number of WP at the bottom right of your admin interface.

    #96424
    Mark
    Participant

    what should the access code be on these files? Do they need read/write status?

Viewing 25 results - 826 through 850 (of 1,381 total)
Skip to toolbar