Search Results for 'translation'
-
AuthorSearch Results
-
September 26, 2016 at 1:00 pm #259117
simon1970
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.
September 6, 2016 at 8:53 pm #258470In reply to: German translation for version 2.6.2
Julian
ParticipantYes,my WordPress is in German. When I use the translation, then my WordPress is in English and Buddypress will not be translated.
September 6, 2016 at 8:45 pm #258468In reply to: German translation for version 2.6.2
danbp
ParticipantStrange ! Is WordPress in german ?
Dashboard > Settings > General > Site LanguageBP translation file goes to wp-content/languages/plugins/buddypress-de_DE.mo
September 5, 2016 at 3:51 pm #258402In reply to: Your connection to this user
danbp
ParticipantFYI, minutes vs. hours ! 🙂
When you search strings, open the .pot file provided with almost any theme and plugin for translation.
In this text format file, you will find (if exist) the string and ALSO the file and the line # where it is used.The default profile content
August 24, 2016 at 8:22 am #257480In reply to: Chinese Translation
Petya Raykovska
ParticipantHey @idichoo,
It’s awesome you’d like to help with BuddyPress translation! Happy to help you get started with translating on http://translate.wordpress.org. I’m
Petyaon wp Slack.If you’d like to get started on your own, this is the best page: https://make.wordpress.org/polyglots/handbook/about/get-involved/first-steps/
BuddyPress could use a Project Translation Editor for Chinese as well, so if you’d like to become one, you can post a request on https://make.wordpress.org/polyglots and we’ll put you in touch with the Chinese General Translation Editors so they can add you as a project maintainer.
P.S. If you’d like to help the team with something quick, you can give us a hand with translating the WordPress 4.6 release video to Chinese! http://www.amara.org/en/videos/HD0Z715enyuZ/id/1429554/
August 22, 2016 at 6:53 pm #257896In reply to: Activity tab title text change
danbp
ParticipantYep, you’re right, the forced translation comes only if you reload the page.
That’s the dark side of a dirt trick. 😉
Now, in a very real use case, this wouldn’t happen very often for not saying never. Most users will (hopefully for you) favorite activities, but i don’t believe that many will favorite and suddenly decide to unfavorite all their stuff and will restart immediatly to fav…
If you don’t agree with this, you still have the possibility to change text in the template or to use the po/mo file.
In witch language is your site ?
August 14, 2016 at 8:31 am #257597In reply to: Broken translation in some tabs
danbp
ParticipantDon’t hack core files. (never !) Which language do you use ?
Where have you done this ?
I’ve took a look at the files and found out that the working ones are using__( "Foo %s", "buddypress" )and the wrong ones are using_x( "Foo %s", "Blah blah blah", "buddypress" ).Actually all BP strings are working. If you need custom translation, you have to do that in po/mo and to use preferably the original strings. For example, if you build a template and want to use the notification count on it, you copy the original string to your work. If you don’t do that, you nedd 2 po/mo ! One for BP and one for your custom work. Which is certainly not the best and easiest solution.
The notification count is defined in wp-content/plugins/buddypress/bp-notifications/classes/class-bp-notification-component.php
The counter itself is inside a span and is defined separately.
/* translators: %s: Unread notification count for the current user */ _x( 'Notifications %s', 'Profile screen nav', 'buddypress' ), sprintf( '<span class="%s">%s</span>',The bla bla bla part you mention is a comment for translators who indicates him the context. This comment appears in the pot file like: Notification %s [Profile screen nav]
That’s BP’s default coding. You haven’t to modify this. Use it as is.
If you have difficulty to translate such a string, you have to check your theme or any custom function you added (by hand or another plugin).
The corresponding custom string should reflect the original one as gettext function wouldn’t translate a string which is not identic.
__( "Foo %s", "buddypress" )and_x( "Foo %s", "Blah blah blah", "buddypress" )are both working, and do technicaly the same thing (foo = something) which let you modify “foo” in both case, but as the original string is_x( "Foo %s", "Blah blah blah", "buddypress" ),you couldn’t replace it with__( "Foo %s", "buddypress" ). It is the translation prefix (_x or __) which is the important thing here.Hope to be clear. And you’re right, unfortunately your changes will be overwriten at next BP update as you hacked core files.
August 10, 2016 at 9:22 am #257491In reply to: Chinese Translation
Paul Wong-Gibbs
Keymaster(I’ve asked https://profiles.wordpress.org/petya to reach out to @idichoo to help get started with translations)
August 10, 2016 at 8:33 am #257484In reply to: Some translated texts aren’t shown
marco129
ParticipantHello,
I have the same problem here. I use WP 4.5.3 and the Theme Woffice from ThemeForest and BuddyPress 2.6.2. I translate all with the plugin Loco Translate but some translations are not working. There ist nothing to repair. What can I do? Any idea?
Best regards
Marco
August 8, 2016 at 2:57 pm #257355In reply to: Chinese Translation
danbp
ParticipantGet in touch with the chinese translation team:
You don’t need to download GlotPress, you can translate BP online. Just go to https://translate.wordpress.org/projects/wp-plugins/buddypress/stable/zh-cn/default and log-in.
And read the translators handbook to learn more about translating WordPress, plugins and themes.
If you prefer to read in chinese, see here: https://cn.wordpress.org/
August 8, 2016 at 6:54 am #257337In reply to: Buddy Chinese translation
danbp
ParticipantPlease don’t double post! You already asked for this and get an answer here:
https://buddypress.org/support/topic/buddypress-translation-editors-contributors/#post-257318August 3, 2016 at 5:10 pm #257202In reply to: Some profile tabs won’t translate
r-a-y
KeymasterThe
Notifications %sstring looks like it is available:
https://plugins.svn.wordpress.org/buddypress/tags/2.6.1.1/buddypress.potIf you’re using a custom translation from a previous version, you need to merge your language files together. Here’s a quick tutorial I found on Google:
http://www.marketpressthemes.com/blog/how-to-merge-two-po-files-using-poedit/You might also benefit from a translation that is already available here:
https://translate.wordpress.org/projects/wp-plugins/buddypressJuly 16, 2016 at 9:11 am #256661In reply to: Translation issue in main nav menu
danbp
ParticipantRe-check your po file and see if the original word hasn’t a count beside it. Something like
Members %s. Many translation are omitting this or use an erroneous variable ( something like % or %d or…nothing). In any case, the translation should contain, if exist in the original, such variables.
Same remark if you use plugins or a theme who modify the menu.You can also check for the new nav API examples you could eventually help you to rename the items, but only if nothing goes to work with translation itself.
July 10, 2016 at 10:27 pm #256451In reply to: How to hide profile menu items from other users
danbp
Participant@socialc, since 2.6 and the new Nav API, there is a much simplier possibility as the translation file to change nav item names.
@marcono, try this; not sure you learned, below snippet is on Nav API examples i indicated previously. 😉function bpcodex_rename_group_tabs() { if ( ! bp_is_group() ) { return; } buddypress()->groups->nav->edit_nav( array( 'name' => __( 'Group Discussion', 'buddypress' ) ), 'forum', bp_current_item() ); } add_action( 'bp_actions', 'bpcodex_rename_group_tabs' ); function bpcodex_rename_profile_tabs() { buddypress()->members->nav->edit_nav( array( 'name' => __( 'My Buddy Forums', 'textdomain' ) ), 'forums' ); buddypress()->members->nav->edit_nav( array( 'name' => __( 'My Buddy Groups', 'textdomain' ) ), 'groups' ); } add_action( 'bp_actions', 'bpcodex_rename_profile_tabs' );July 10, 2016 at 8:59 pm #256450In reply to: How to hide profile menu items from other users
socialc
ParticipantJuly 1, 2016 at 1:41 pm #255628In reply to: Translation stop working after update
danbp
ParticipantThe Danish translation is not complete… so the automatic translation doesn’t work.
Read from here to go further:
July 1, 2016 at 1:37 pm #255627In reply to: Help me sort out my BuddyPress install
danbp
Participantpositionning: check CSS pseudo class :before or :after
buddypress.pot: this file does nothing! It contains only the strings you can translate. If you need a translation, you have to create a po and a compiled mo file. To do this you need a tool like poEdit.
Any code placed in bp-custom.php stays untouched after an update. It works like a child-theme.
July 1, 2016 at 1:23 pm #255626In reply to: Translation stop working after update
hisselfandco
ParticipantHi jangolin
Thanks for your reply – KLEO Theme language files are there…
Problem I have is finding how to make buddypress find the Danish translations .po and .mo I have in wp-content/languages/plugins/
I have no problems with other plugins only buddypress….July 1, 2016 at 12:40 pm #255618In reply to: Translation stop working after update
hisselfandco
ParticipantUsing v 2.6.1.1
I do NOT have a folder: wp-content/buddypress/languages/
And I DID add the .po and .mo to wp-content/languages/plugins/
I am not using loco translateHave checked po language files and translation is still there….
July 1, 2016 at 12:24 pm #255617In reply to: Translation stop working after update
jangolin
ParticipantI am also using KLEO Sweet Date, even if your theme language files are there, they are probably without translation.
When I opened my language file in poedit all my translation was gone and had to do the translation all over again and upload, then it worked
So open your po. language files and see if your translation is still there
July 1, 2016 at 12:05 pm #255615In reply to: Translation stop working after update
danbp
Participantyou used the wrong directory for translation.
The directory to use IS NOT wp-content/buddypress/languages/
if you manually upload a po/mo for BP, add it to
wp-content/languages/plugins/buddypress-xx_XX.mo / po
July 1, 2016 at 11:41 am #255614In reply to: Translation stop working after update
hisselfandco
ParticipantThanks for the tip
Using KLEO theme – can see that the language file is still there.
Still having problems with getting buddypress to find the translations…. -
AuthorSearch Results