Search Results for 'translation'
-
AuthorSearch Results
-
December 15, 2016 at 8:48 am #262125
In reply to: [Resolved] Filter for No Members Text
Henry Wright
ModeratorThere isn’t a filter for that text but you can use the
buddypresstextdomain to add a translation.December 14, 2016 at 4:46 pm #262091In reply to: BuddyPress 2.7.3 – Translation Issue
danbp
ParticipantFr translation has no issue, nor german one.
The issue may be in your language selector or multilingual plugin…November 26, 2016 at 2:48 am #261338hotloverspassion
Participanttranslations still not working correctly. Can someone have a look at this issue? Been waiting a while now. Thanks a lot.
November 22, 2016 at 3:12 pm #261255Venutius
ModeratorMay I ask, would this be a multi-lingual site?
I think what you want done with the profiles is doable, you could configure the profile to display the families profile information and then ave a section for comments below that data. It would take a bit of coding but is achieveable.
The multi-lingual aspect worries me as some translation plugins can be really complex and tend to slow down the site too much, but it depends how far you are looking to go with that translation.
How are you going to handle these payments? Will they be managed through the site or completely separate from it?
November 16, 2016 at 4:30 am #261058In reply to: Custom msg in own profile
Ron Ashman
ParticipantHello,
Thank you for answering shanebp.
I did it with translation files, so simple and dumb for someone like me who knows very very little about PHP.
Anyway, thank you! Your suggestion lead me to the right track and I did it.
For anyone wondering how to do it:
Overload (search in forum) a template for profile.php and add wherever you need the following:<?php if ( bp_is_my_profile() ) echo "Your custom text with HTML code or whatever" ?>Thanks again! 😀
October 29, 2016 at 8:01 am #260540In reply to: Localized time stamp broken with 2.7 update
danbp
Participant@r-a-y The danish locale for moment.js use “da” extension. As you ask for check, i assume it is confusing when BP translation is using “da_DK” ? 🙂
October 29, 2016 at 5:40 am #260538In reply to: Localized time stamp broken with 2.7 update
r-a-y
KeymasterBP 2.7 introduced dynamic timestamps using livestamp.js and moment.js.
For dynamic timestamp localization to work correctly, we try to load the moment.js localization file.
It is quite possible that moment.js does not come with a Danish translation.
@adjunkten – Can you check to see if there is a Danish translation here?
https://github.com/moment/moment/tree/develop/localeIf so, can you output your WordPress locale using
get_locale()? There might be a bug in how we are checking for the moment.js locale file.October 29, 2016 at 12:11 am #260536In reply to: Localized time stamp broken with 2.7 update
Jonas
ParticipantYour time stamps looks correct, I’m guessing you mean the Danish translation isn’t working correctly?
You can grab the newest Danish Buddypress translation here https://translate.wordpress.org/locale/da/default/wp-plugins/buddypress followed by merging your current buddypress-da_DK.po file in poedit like this http://www.marketpressthemes.com/blog/how-to-merge-two-po-files-using-poedit/, translate the words you needs to translate, save it as both buddypress-da_DK.po and buddypress-da_DK.mo – and reupload it to your server in your language folder.
October 21, 2016 at 3:12 am #260128hotloverspassion
ParticipantHi,
first of all I want to congratulate you for an amazing improved Profile date field! Great job! Thank you!
Now to my issue. My goal is to show “Age” of my members using your date selector. By default when I chose Time elapsed, the Age field in user’s profile is showing: age ( for example 38 ) years ago. I would like to change wording “years ago” to “years old” by using loco translate plugin. Here is the result of the translations:
source text: %s ago
-> no translation made: outcome: 38 years ago
-> translated to: %s old = outcome: 38 years
-> translated to: %s = outcome: 38 years
-> translated to: %s years old = outcome: 38 years
-> translated to: % years old = outcome: ears oldIs it a bug or am I doing something wrong? Any idea?
Thanks
Petra
Using WordPress 4.6.1 running Sweetdate Child theme, BuddyPress 2.7.0
October 20, 2016 at 9:37 am #260041In reply to: BP on Multisite multi-language
Paul Wong-Gibbs
KeymasterI guess that means that when a user registers on one of the multi-sites he can use his account on all the other websites of the Multi-site installation, right ?
Yes, but understand that you have to give that user access to those other sites (in wp-admin) to write blog posts, for example. If a user does not have explicit permissions to a specific multisite site, they won’t have any special access; they’ll only be able to read the content as if they were another normal visitor. You can test this right now, without BuddyPress, and see how it works.
meaning it takes him out of the French Website to put him onto the English on
You seem to be using multisite to have your content localised into different languages. This is a common approach for WordPress multisite, but BuddyPress does not work the way you want it to in this situation.
You can activate BuddyPress in a few different ways. Simply, on multisite, you can activate the plugin on a specific site, or network-wide. There is lots more detail at https://codex.buddypress.org/getting-started/installation-in-wordpress-multisite/ but if BuddyPress is activated network-wide, all the BuddyPress content will only appear on one site (we call this the “root blog”). We use redirects to support this, exactly as you’ve found.
You can’t have BuddyPress active on a multisite that uses the sub-sites as different languages, and have the BuddyPress social network appear on all of them and work in the same way, except with different translations. It doesn’t work that way out the box…
…however here is an advanced setting you can use to make BuddyPress behave like this: BP_ENABLE_MULTIBLOG
See https://codex.buddypress.org/getting-started/customizing/bp_enable_multiblog/
I would encourage you fully test this setting out if you enable it, before you start building the rest of your site, just to understand and confirm its behaviour.🙂
October 11, 2016 at 5:14 pm #259732In reply to: Online Status
danbp
ParticipantCheck your theme files. You need to find the “ago” part and modify it (via child theme) to what BP use for it.
Or maybe you can get a german version for your theme or search the string in the existing theme translation.
Eventually ask for help on the theme support, as it is not a BP issue.
October 10, 2016 at 9:39 pm #259688In reply to: Online Status
Julian
Participant@danbp Thank you for your help. I could not find a mistake in the translation. “% S” is used correctly everywhere. Any online status has not been translated (Not just “ago”), I downloaded the official version. It is about the page “Side-Wide – activity”. I have installed a Buddypress independent theme.
October 10, 2016 at 9:06 pm #259687In reply to: Online Status
danbp
ParticipantHi,
check the code you used for “16 minutes ago”. You will find it in the buddypress-de_DE.po file. Normally, you should have
%s ago -> vor %s. If you omit % or s, the string won’t be translated.If it’s not a typo error of yours:
– where is this untranslated “ago” string showing ? Site activity, profile, widget, other ?– do you use a specific “buddypress” theme ?
– does the issue remain when using the “official” translation file ? If not, download it here (po & mo). Don’t forget to remove your version before adding the original one into wp-content/languages/plugins/
October 3, 2016 at 4:09 pm #259367Topic: How to translate xprofile fiels
in forum How-to & Troubleshootingreivilob
ParticipantHi
How can i translate the xprofile fields i add, because the title and default content of my custom fields does not appear in WPML string translation …
OB
October 3, 2016 at 8:24 am #259352danbp
Participanthi,
it’s because you didn’t right.
The translation, or word change, use a msg ID which contains the original string and a msg string, for the new wording.In your case, you should use
msgid "Site Wide Activity RSS Feed" // the original string msgstr "Rich Site Summary" // the custom stringNote also to get this to work, you need to compile the po file to mo file.
And if you don’t want to redo that after each BP update, i recommand you use this plugin, so your custom language file remain untouched, while the default language will be updated.October 1, 2016 at 11:47 am #259302In reply to: translating bbpress show internal server error
danbp
Participant– I know nothing about Loco translate as i never used it. And i can’t read chinese, so i can’t help you with this specific translation.
– I never seen a error 500 after modifying a translation.
– The only thing i’m sure (because of the error messages) is that it is Loco who doesn’t find a file or can’t access to it properly.
– Re-check Loco Settings and try another path option… Or maybe use a custom path called MyTranslation and use the plugin only to translate. Once done, deactivate Loco and move the mo file manually to the right folder. By doing this you eliminate the eventual plugin issue and still have a mo file you can use (hopefully).
– Ensure your BP’s po/mo files have correct file extension and use the correct path to file:
/wp-content/languages/plugins/buddypress-zh_CN.mo & buddypress-zh_CN.po
Personnaly, i use poEdit and only on my computer and never directly on a site.
October 1, 2016 at 9:07 am #259300In reply to: translating bbpress show internal server error
bunse2011
ParticipantThanks for you reply.
Sorry, it is my typo………… my problem is with buddypress translation instead of bbpress.
I have contacted with the loco team, but they asked me to contact buddypress, as the the problem is only with the buddypress po.mo that I download from https://translate.wordpress.org/projects/wp-plugins/buddypress
could you please help me?
October 1, 2016 at 8:56 am #259299In reply to: translating bbpress show internal server error
danbp
ParticipantHi,
you are on the BuddyPress support.
bbpress questions should be asked on bbpress support.
And as you use Loco Translate plugin, and apparently have an issue with it, you have to ask on the LT plugin support.To get more about chinese translation, help and much more, please read the Polyglots blog.
October 1, 2016 at 8:49 am #259298In reply to: Different Languages for WP and BuddyPress
danbp
ParticipantHi,
all you have to do is to use a custom translation for BuddyPress !
This can be done with help of this plugin.Actually, WP uploads automatically all available translation for itself and any of his dependencies: themes and plugins(when exist) accordingly to the site language. Ie. brazilian portugue (pt_BR.mo)
In your case, while using the plugin, WP will remain in portuguese and as you will use buddypress-en_US.mo or buddypress_en_GB.mo as custom translation, anything related to BP will be in english.
Of course, this behave will always be used even AFTER an update of WP or BP and both updated to portuguese.
The avantage of the plugin is that you haven’t to struggle with complicated domain settings and hacks, because he does it for you by using a different path for any custom translation (in your case, BP’s english version). The file is stored in /uploads/wpt-custom-mo-file/buddypress-what_EVER.mo
You simply need to remember to download manually the english BP version.
Translation files can be downloaded here.Hope to be clear. 😉
October 1, 2016 at 3:19 am #259294bunse2011
ParticipantI just took those steps to translate bbpress, but encouter internal server error(only with bbpress)
1. download the chinese translation file from buddypress: https://translate.wordpress.org/projects/wp-plugins/buddypress (.mp /.po)
2. add those two file into wp-content/language/plugin and rename it
3. the translation works fine
4. but when I use loco translation plugin to edit some text in translation plugin, sync and save , it shows ” Internal Server Error</span>” shows again.
here is the php log: [29-Sep-2016 07:48:55 UTC] PHP Fatal error: Method Loco_gettext_Data::__toString() must not throw an exception, caught Exception: Truncation error in vhosts/bpteach_dev/wp-admin/includes/class-wp-filesystem-direct.php on line 0
<p class=”p1″>[29-Sep-2016 07:51:56 UTC] PHP Fatal error: Method Loco_gettext_Data::__toString() must not throw an exception, caught Exception: Truncation error in vhosts/bpteach_dev/wp-admin/includes/class-wp-filesystem-direct.php on line 0</p>September 29, 2016 at 10:36 am #259224simon1970
Participant@henrywright Thanks, yes I would like to be able to use translation files and have tried in the past too but for some reason I can’t get them to work. I suspect it might have something to do with BeTheme as this theme has caused me lots of issues in the past. I will probably try to get to the bottom of it again sometime but for now I’m really glad I got the templates working anyway 🙂
September 26, 2016 at 1:00 pm #259117simon1970
ParticipantHi,
For some reason all the above methods don’t work for me. I even tried uninstalling and re-installing PoEdit but no joy. Below is the .mo file that was automatically created using the above method. Note the translations are there but it all looks a bit messed up with nonsense at the start. Is this what an .mo file should look like?
Þ• L|¨x©’”qµŒ’h´Ÿw½þ5þ4‚3‚¶Registering for this site is easy. Just fill in the fields below, and we’ll get a new account set up for you in no time.Thanks for registering!
To complete the activation of your account, go to the following link: {{{activate.url}}}Thanks for registering!
To complete the activation of your account, go to the following link: {{{activate.url}}}Your account was activated successfully! You can now log in with the username and password you provided when you signed up.Your account was activated successfully! Your account details have been sent to you in a separate email.Project-Id-Version: BuddyPress 2.6.2
Report-Msgid-Bugs-To: https://buddypress.trac.wordpress.org
POT-Creation-Date: 2016-09-26 13:45-0700
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
PO-Revision-Date: 2016-09-26 13:49-0700
Language-Team: ENGLISH <jjj@buddypress.org>
X-Generator: Poedit 1.8.9
Last-Translator:
Plural-Forms: nplurals=2; plural=(n != 1);
Language: en_GB
Registering for this site is easy! Just fill in the fields below and we’ll get a new account set up for you in no time!Thank you for registering with Skewen Angling Club!To continue, please verify your email address via the email we have just ”
“sent to you.</br></br></br></br></br></br></br></br></br></br></br></br></”
“br></br></br></br></br></br></br></br></br></br>Thank you for registering with Skewen Angling Club!To continue, please verify your email address via the email we have just ”
“sent to you.</br></br></br></br></br></br></br></br></br></br></br></br></”
“br></br></br></br></br></br></br></br></br></br>Thanks for verifying your email address! Once your account has been approved we will notify you via email with your login details.Thanks for verifying your email address! Once your account has been approved we will notify you via email with your login details.Thanks,
Simon
September 25, 2016 at 10:09 pm #259111danbp
Participanthi Henry @henrywright,
wp-content/languages/plugins/buddypress-en_GB.mothis path is the one used by GlotPress’s official automated translation updates for BP (and any other plugin translation if it exist). Same behave for the languages/themes/ directory.
If you add a customized po/mo there, it will be overwritten at next update !
Since i18n new improvements in WP 4.6, the only way to keep the integrity of a custom translation actually, so far i know, is to use this plugin: wpt-custom-mo-file, who allows you to override and use your own translation files for any WordPress themes or plugins.
Just to let you know. 🙂
September 16, 2016 at 8:05 am #258785danbp
Participanti checked the hebrew translation available on GlotPress. It seems to me it is correctly translated.
Copy/pasting RTL strings doesn’t work here… anyway here what i get (href is LTR here – but is ok in poEdit)
החשבון שלך הופעל בהצלחה! אתה עכשיו יכול <a href="%s">להתחבר</a> עם שם המשתמש והסיסמא שהכנסת כשנרשמת לאתר.September 9, 2016 at 8:30 am #258550In reply to: buddypress translestion
danbp
ParticipantHi!
1. presuming you dl the translation file (po & mo) ?
2. what have you renamed ? Normally there is nothing to rename for po/mo file names.
3. which code did you added to functions.php? Usually there is nothing to add there for translation.See here for details: https://codex.buddypress.org/translations/
Note: Hebrew language file (buddypress_he_IL.mo) is uncomplete (72%), that’s probably why your register page is still in english.
There is also no PTE for hebrew which makes difficult for users to get the awaiting for validation strings.The only solution for you is to download what is currently available in hebrew and to complete this translation yourself or to get in touch with this guy.
Perhaps you want to contribute to translation in your language? Read here if interested.
-
AuthorSearch Results