Search Results for 'translation'
-
AuthorSearch Results
-
January 4, 2012 at 4:53 pm #127391
In reply to: [Resolved] Please help me translation
Guga123MemberWhere should I put the files?
January 4, 2012 at 4:51 pm #127390In reply to: [Resolved] Please help me translation
Guga123MemberThe language is portuguese
January 4, 2012 at 4:48 pm #127388In reply to: [Resolved] Please help me translation
January 4, 2012 at 4:42 pm #127386In reply to: [Resolved] Please help me translation
acesParticipantWhat 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/
December 24, 2011 at 3:08 pm #126869In reply to: A very problem with avatar, please!!
@mercimeParticipant== 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.
December 18, 2011 at 2:56 am #126557In reply to: activity box don’t work with freshlife theme
acesParticipantIt’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/
December 5, 2011 at 6:57 pm #125638In reply to: Problems with translatin
Paul Wong-GibbsKeymasterHave you loaded a translation file for WordPress, too?
November 23, 2011 at 11:25 am #124863In reply to: I want to translate it into Greek
aghahowaMemberWho made this translation anyway?
November 18, 2011 at 7:16 pm #124659In 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.
-
AuthorSearch Results