Search Results for 'translation'
-
AuthorSearch Results
-
November 18, 2011 at 7:16 pm #124659
In reply to: Multi-language edition
QuintParticipantNative 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…
November 12, 2011 at 10:34 pm #124274In reply to: Translation works, but not on Activity-screen
r-a-yKeymasterMake sure you are using the most recent BuddyPress translation file to do your translation:
/wp-content/plugins/buddypress/bp-languages/buddypress.potIf 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”)November 12, 2011 at 6:29 am #124240In reply to: Where to put my translations, or how to activate it?
@mercimeParticipantI would place mo and po in wp-content/plugins/buddypress-activity-plus/languages folder
October 28, 2011 at 11:50 am #122978In reply to: 1.5 Language, Child Theme and Multisite
Paul Wong-GibbsKeymasterAnd 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
October 27, 2011 at 11:54 pm #122945In reply to: 1.5 Language, Child Theme and Multisite
NahumParticipantI’m now seeing that it’s only some translations that don’t take….for example.
%s became a registered member
Posted an updateIn 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
September 8, 2011 at 8:28 am #119726In reply to: removing group auto join
@mercimeParticipant@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/
September 5, 2011 at 5:02 pm #119610In reply to: How to change the avatar in the photo?
@mercimeParticipantSomething’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.
August 14, 2011 at 6:48 pm #118424In reply to: Customizing profile page.
StigmartyrMemberIf 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.
August 13, 2011 at 1:53 am #118313StigmartyrMemberAnswer 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 @brajeshAugust 7, 2011 at 5:20 am #117907In reply to: How would I?
akyleadamMember@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);
August 6, 2011 at 6:47 pm #117881In reply to: How would I?
@mercimeParticipant@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
August 6, 2011 at 12:55 am #117847In reply to: buddypress translation, languages help!!
acesParticipantThe 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.
August 6, 2011 at 12:52 am #117846In reply to: buddypress translation, languages help!!
acesParticipantPutting 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 “
August 6, 2011 at 12:43 am #117843In reply to: buddypress translation, languages help!!
dubselMemberim 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
August 6, 2011 at 12:39 am #117842In reply to: buddypress translation, languages help!!
acesParticipantYou 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….
August 6, 2011 at 12:29 am #117841In reply to: buddypress translation, languages help!!
dubselMemberbeing its buddy press does it, translate the whole site, buttons groups etc?
August 6, 2011 at 12:14 am #117838In reply to: buddypress translation, languages help!!
dubselMemberim 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.
August 5, 2011 at 11:42 am #117782In reply to: buddypress translation, languages help!!
acesParticipantJuly 31, 2011 at 12:40 am #117240acesParticipantIt would help to know what theme you are using and what tutorial you followed?
Translating stuff links:
https://codex.buddypress.org/developer-docs/translations/
https://codex.buddypress.org/extending-buddypress/customizing-labels-messages-and-urls/
https://codex.buddypress.org/extending-buddypress/changing-internal-configuration-settings/July 30, 2011 at 12:43 am #117192In reply to: Buddypress 1.5 Bug Reporting!
VirtualiMemberCurrent Bugs with Plugins List for Plugin Developers:
Boone Gorges Group Reviews: Warning: Attempt to assign property of non-object in /home/content/47/6114047/html/wp-content/plugins/bp-group-reviews/bp-group-reviews.php on line 225
Buddypress Links: Fatal error: Call to undefined function is_site_admin() in /home/content/47/6114047/html/wp-content/plugins/buddypress-links/bp-links-classes.php on line 732
Buddypress Like: Fatal error: Call to undefined function is_site_admin() in /home/content/47/6114047/html/wp-content/plugins/buddypress-like/bp-like.php on line 248
Buddypress Group Forum Extras: Fatal error: Call to undefined function is_site_admin() in /home/content/47/6114047/html/wp-content/plugins/buddypress-group-forum-extras/bp-forum-extras.php on line 81
Transpoosh Translation Filter issue when “Load More” is clicked: Warning: Missing argument 2 for transposh_3rdparty::bp_get_activity_content_body() in /home/content/47/6114047/html/wp-content/plugins/transposh-translation-filter-for-wordpress/wp/transposh_3rdparty.php on line 116
Those are all the fatal errors right off the bat, I’ll let you know with other issues.
June 27, 2011 at 8:59 pm #115311In reply to: re-word ‘what’s new’
odiseoMemberYou can try to edit the translation file (.MO). That can be more convenient if you plan to customize many of the strings and terms used by buddypress (such “Friend”, “Group”, “activity”, etc)
June 17, 2011 at 10:18 am #114682ikn0w2MemberHi I am not sure what I did wrong and its not working properly…
I got the errors everything after i post a forum topic.. The new translation is done but I got this error….
Warning: Cannot modify header information – headers already sent by (output started at /home/footheal/public_html/commandoclub.net/wp-content/plugins/bp-custom.php: in /home/footheal/public_html/commandoclub.net/wp-includes/pluggable.php on line 897
Please help.
June 3, 2011 at 1:53 pm #113769acesParticipantYeah, I’ve had problems – see details of memory usage here: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/rss-error-in-dashboard#post-88690
If you are on 1and1, then their newer packages may have more memory available….June 2, 2011 at 12:56 am #113626acesParticipantThanks for coming back with your solution…. I wish more people would…
June 1, 2011 at 3:02 pm #113576freigeists84MemberFixed guys. At the end I had to buy the new product Dual Perfect that gives me more memory.
Thanks 4 your help!!
-
AuthorSearch Results