Search Results for 'translation'
-
AuthorSearch Results
-
June 11, 2015 at 12:21 pm #240592
In reply to: Problemas with the traduction
danbpParticipantThe download link on glotpress is below the content, in the bottm left corner.
Select the mo format and click on “export” and do the same for po format.I’ve heard that the buddypress traduction never fails
Caramba ! Never trust rumours !
I can´t believe that nodoby has the same problem
Search for “translation” on this forum and you’ll be stumped !
June 10, 2015 at 4:30 pm #240550In reply to: Problemas with the traduction
danbpParticipantWhich theme do you use ?
Can you test youre install with Twenty Fifteen theme and see if anything is translated ?
Are the terms not translated on front-end, or also in back-end ?FYI, the spanish translation for BP is only completed to 96%, but activity is translated. To ensure you have the most recent copy, download the spanish .mo file from here and install it in wp-content/languages/plugins/buddypress-es_ES.mo
June 10, 2015 at 3:57 pm #240545In reply to: After Registertion
@mercimeParticipantSomething may be getting lost in translation, but if you mean you want the user who has just logged in to be redirected to his/her profile, then check out https://wordpress.org/plugins/bp-redirect-to-profile/
June 8, 2015 at 6:51 pm #240463In reply to: How to customize labels ?
rodneParticipantthanks @henrywright for the swift reply … i was struggling with where to place these files, not seeing updates and generally wondering what I had been doing wrong. Basically I had been replacing the messages of the .po files when generating the new .mo translations … instead one should simply add a preferred translation as the following article suggests (https://wpalchemists.com/2014/05/buddypress-translation-files/)
oh the woes of .po & .mo ‘s … hope this helps someone else though!
May 19, 2015 at 7:00 am #239398danbpParticipantThis core function has no filter. The easiest way is to use a language translation file.
https://codex.buddypress.org/developer/customizing/customizing-labels-messages-and-urls/
In pot file, the concerned string Members is commented by [ component directory title ].
May 7, 2015 at 3:45 pm #238785In reply to: Groups issue
Rene StreberParticipantHi,
I deactivated all plugins,
I checked all permalinks,
activated the twenty four theme from wordpress instead of the Boss theme (language looked fine),
activated buddypress (language looked fine, everything is correctly translated)activated the BOSS Theme (language is not 100% translated:
examples: active, all groups, my groups, group has xx members, newly created etc. is not translated
although we installed the newest german translation (mo/po in wp-content/languages/plugins)The same translation problem exists with sidewide activity as well as member directory (here all members, my friends in English)
For groups (..community/gruppen; parent is community, template is default)
For members (..community/mitglieder; parent is community, template is default)404 error if I try to open any group with wordpress or with the boss theme
I did not run the last steps, because the issue is still present.
Ps Every buddypress component has its own unique page
Rene
May 6, 2015 at 2:46 pm #238745In reply to: Groups issue
danbpParticipantHallo @rene-streber,
First of, i would recommend that you revert to a basic WP install using 2014 or 2015 theme and the WP’s german language activated and all plugins deactivated.
If you have a local install, suggest you do your test on it instead of the prod site.
Once this is done, you activate BuddyPress. German language will automatically be uploaded to the right folder (wp-content/languages/plugins/buddypress-de_DE.mo)
The original translation is here. It is complete to 100%. (and also the official translation).
FYI deckerweb provides a translation for bp 1.9 & 1.9.1. Soseems to meit is outdated now.Check if anything is correctly übersetzt. Theoretish sollte es jetzt funktionnieren.
If ok, you activate the main theme. Recheck everything. If ok, reactivate your plugins one by one and check each step to isolate an issue, if ever.
If everything is correct again, you can handle the specifics for your homepage. But remind one thing: BuddyPress components use a page system which is only in for internal purpose. This means that you can’t apply a page model like for an usual WP page. And if you use a special template just for the homepage, you have to adjust it to work with BuddyPress.
Each activated BP component should have a page assigned. And this page must be unique and empty, whithout any template or model settings, just a title.
I see that you have some issue with page names in your menu. Button show community2 and the permalink contains community-4. Check this too, to get community only everywhere. And probably clear your trash as it may contain some duplicates from previous attempts.
Once this is cleaned, und mit klarer aussicht, simply resave your permalinks to reinitialize all links.
May 2, 2015 at 6:38 pm #238632joshdrokParticipantOk, I have managed to get the menus changed. But now the only thing that isn’t changed is the buttons that say “Create a Group” on the groups browser page. I installed CodeStyling Localization plugin and looked at the translations and everything is translated so I’m not sure why that one is the only one that isn’t being changed.
May 1, 2015 at 9:08 am #238602In reply to: Language file acting up?
danbpParticipantWhen your custom language file doesn’t contain a correct header version, it will be overwriten at each BP update.
To avoid this, you have 2 solutions.
– completely deactivate automatic translation upload, which will affect the whole site: theme and plugins.
– keep a safe copy and upload it to the site AFTER the update. Tehn if something is missing or no more translated, you can update your version from the pot file shipped with BP.If you use a cache, you have to clear it before installing a custom version. You must be sure that your wersion is running, in any case.
April 28, 2015 at 7:40 am #238507In reply to: how to add language in buddypress?
danbpParticipantChinese isn’t working for BP but works for WP.
Russian is ok for WP & BPHave you a chinese translation for BP ?
The avaible zn_CN po header needs to be completed if you want to make your own version based on it.
April 27, 2015 at 4:45 pm #238455In reply to: Change slug without touching core files?
@mcukParticipantHi @danbp,
Sorry I think i may have confused my explanation or something and got lost in translation :s.
Yeah I’m aware of the difference between the slugs used in the URL/permalinks and the menu/tab names. I’ve already updated the names etc in the PO files useing Poedit. But for one reason or another the:
define ( ‘BP_FRIENDS_SLUG’, ‘whatever’ );
isn’t working…April 27, 2015 at 12:33 pm #238438In reply to: how to add language in buddypress?
danbpParticipantthere is no result
that’s because you use a wrong file name.
The language file must be named “buddypress-zn_cn.mo”If WP site language is set to chinese (general > settings if on a single install), buddypress will aotomagically upload the avaible chinese translation.
Search also this forum if you need more information, they’re many topics related to translation.
April 27, 2015 at 3:38 am #238422In reply to: how to add language in buddypress?
Leo 777ParticipantI tried to create a duplicate file /wp-content/languages/plugins/buddypress-ru_RU.po
and gave him the name buddypress-zh_CN.po
Wrote a couple of test translation, But nothing happenedApril 27, 2015 at 3:34 am #238421In reply to: how to add language in buddypress?
Leo 777ParticipantThank you very much. And what about the Chinese language
In wordpress has Chinese. And in the Chinese language does not have buddypress.
Where to write translations? I want to translate their own.
I added Chinese language on the siteApril 26, 2015 at 10:55 am #238373In reply to: how to add language in buddypress?
Henry WrightModeratorHi @arturamirov
See the Languages and Translations article to start with. There’s also the Translator Handbook.
April 19, 2015 at 6:22 pm #238056Prometheus FireParticipantRight, so the advice from @shanebp worked.
As I mentioned above, when originally did the translation, I didn’t use Poedit, I used an online editor (after using Codestyling first). Turns out the they simply aren’t as advanced as Poedit and those source keywords were really important here. As I was going through the strings in Poedit, I was seeing strings I had never seen before in the other software since the other editing softwares probably couldn’t read the strings in the first place.
I’ve seen various threads where other people have struggled with translating the same thing. Perhaps an update to the documentation including information about these specifics might be helpful for other in the future. The documentation https://codex.buddypress.org/getting-started/customizing/customizing-labels-messages-and-urls/ does talk about using Poedit, but leaves out those rather important details needed to get a complete label and message change.
Either way, this issue is resolved.
April 19, 2015 at 5:48 pm #238050danbpParticipant– keep in mind that I’m not doing a full on translation, just this BuddyPress translation to change Friends to Connections.
you put only those strings into your custom po. If the concerned string is on a template file, you can also hardcode it there, and use a template overload to get in from your child-theme in that case. So you haven’t to struggle with poEdit. In this case also, you have to take care of the details given by @shanebp.
– does the language define statement in wp-config.php need to be set for this to work?
This is no more used since WP 4.0. You can remove it.
– buddypress-en_US.po and buddpress-en_US.mo files need to be in which folder?
/wp-content/languages/plugins/ (the po file is not used by gettext, it’s only a human readable work file – you can store it elsewhere if you want. You just have to remind where in that case 😉 ).
if you put it in /language/ (of course you can), you will see buddypress-en_US as a language setting. Which is of course not the site language.
But in any case, keep a copy of your work in a safe place outside of WP.
April 19, 2015 at 5:29 pm #238046Prometheus FireParticipant@shanebp and @danbp thank you for the replies on this. I did my change of this using Codestyling Localization. That didn’t work (it worked everywhere but in the subnav). Then I manually created po/mo files and it also worked everywhere but in the subnav. When I did that translation, I created the po using an online po edit (I don’t remember which one, and it certainly didn’t say anything about source keywords).
I’ve now installed a copy of PoEdit on my pc and am working through the file now, with the keyword information mentioned in the link above.
I have a couple additional question though, because I’ve found conflicting information on the internet and following the instructions from the BP documentation doesn’t seem to work right.
The buddypress-en_US.po and buddpress-en_US.mo files need to be in which folder?
The documentation says to put them in /wp-content/languages/plugins/ however, sources I’ve seen elsewhere say to put them in /wp-content/languages/ – currently neither of them work for me, but I’m starting this translation from scratch now and I want to get it right.
Also, does the language define statement in wp-config.php need to be set for this to work? Keep in mind that I’m not doing a full on translation, just this BuddyPress translation to change Friends to Connections.
April 19, 2015 at 4:35 pm #238041danbpParticipantthis is obvious, but unfortunately despite your details, difficult to help out, because you don’t tell which code is concerned… or what you used to do your change. 😉
Generally, when it doesn’t translate, it’s because a typo error. A custom function, a theme using outdated strings and a lot of little details like missing dots, comas or percent sign.
Here some tricky examples which can produce a missing translation.
Original code looks like this:%d friends Activity feed for %s's friends. Friends <span class=\"%s\">%s</span>
If %d is typed %s, or if the end point after friends is missing or you forgot to anti-slash or a double cote in the html, gettext mismatch the source and the translation and doesn’t execute it.
First thing to do in your situation, is to compare what is in your po file to what is in the BP code. Assuming BP code is the master, and always right. Po can be wrong: old version, manually modified, corrupted. Po must in any case be saved as text format in utf8 without BOM. This is invisible, but a real source of issues, specially when anything seems the same and desperatly stays untranslated/unmodified.
To do this, open the po in a text editor. Search for the string, check the file position given above the string, and read carefully and triple check, that the original BP code and the string in the po are strictly identic.
If nothing found, ensure there is no custom function somwhere, or a theme playing around the buddybar or subnav.
April 19, 2015 at 4:17 pm #238039shanebpModeratorAre you sure you’ve translated this label:
Friends <span class="%s">%s</span>
Did you include this Sources Keyword when creating the translation .mo in poEdit:
_x()
The Friends label is generated by
__()
and_x()
, depending on the context.More info re keywords: http://www.cssigniter.com/ignite/wordpress-poedit-translation-secrets/
April 8, 2015 at 12:16 am #237431In reply to: Customizing Buddypress Activity Wall
mrgibletsParticipantJust to add to Roger’s brilliant post above…
Don’t be afraid of Poedit.
It can look a bit intimidating at first but it really isn’t.
I’ve always edited language files directly in a text editor but I decided to give Poedit a whirl.
What caught me out was the fact that when I first opened it I was editing the actual strings and then exporting the PO & MO files.
This wasn’t doing anything because it was the wrong way to do it.
For every string there is a blank translation box beneath it, this is where you need to put your “translation”, then export, upload and boom, works a treat 😉
April 7, 2015 at 10:07 am #237370In reply to: Customizing Buddypress Activity Wall
Roger CoathupParticipantChanging these titles isn’t the easiest thing, but BuddyPress does provide 2 ways you can do it. However, hacking core files like bp-activity-loader.php is definitely not one of them. [Never hack core files — have a Google if it’s not obvious to you why you shouldn’t]
Ok the 2 solutions are:
- Use a language / translation file
- Use the template hierarchy
The string “Site-Wide Activity” is translatable — all the strings are. You can implement a language file that translates ‘Site-Wide Activity’ into whatever string you’d like. Have a search for translating BuddyPress strings / POT files / poedit. There’s also a documentation (they call it the Codex) page on it: https://codex.buddypress.org/getting-started/customizing/customizing-labels-messages-and-urls/
The second solution is to use the template hierarchy. If you don’t provide a specific template for your activity directory, BuddyPress will use the page.php file from your theme and ‘inject’ the title “Site-Wide Activity” where page.php makes a call to the_title().
You can override this by implementing your own template — create a file called index-directory.php inside /buddypress/activity in your site’s theme. Copy the basics of page.php into that file, and replace the_title() with your hardcoded title for the page.
You can read more about the template hierarchy here: https://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/
Neither solution is simple, you’ll either have to get your head around using poedit, or need some basic PHP coding skills and an understanding of the principles of templates and themes in WordPress. In the future, it would be nice to see a settings panel in wp-admin to configure these basic strings.
[p.s. if you don’t want to use poedit, you could take a look at plugin solutions for string translation, e.g. codestyling localisation]
March 30, 2015 at 11:38 am #236922In reply to: Trouble Creating new groups
ChristophK2003ParticipantHi.
I am also using wordpress 4.1.1 and buddypress 2.2.1 and for all pages, which I need to map via the settings page I am getting a blank page: Groups, Members, Register and Activate. I am using the default theme. It is a multi-site setup, however buddypress is only used on the main site (first blog) and also only there activated.
I did only minor styling via the themes css and the header.php.WP_Debug does not show any errors as well as the Apache log is empty.
It was working fine until i updated recently the connected bbpress for forum.
Besides that I am using following plugins:
bbP private groups
bbPress
bbPress Advanced Capabilities
BP Registration Options (DEACTIVATED CURRENTLY)
BuddyPress
BuddyPress Group Email Subscription
BuddyPress Like (DEACTIVATED CURRENTLY)
BuddyPress Multilingual
HookPress (DEACTIVATED CURRENTLY)
Nginx Helper (only on staging)
Page Builder by SiteOrigin (DEACTIVATED CURRENTLY)
Paid Memberships Pro
Paid Memberships Pro – bbPress Add On
Paid Memberships Pro – Register Helper Add On
Social LoginNetwork activated:
WordPress SEO
WPML Multilingual CMS
WPML String Translation
Events ManagerMy dev environment is XAMPP on Mac and on the staging is a linode cloud server with Ubuntu on Nginx (I think). Both have the same issues.
It’s not a live site yet, just demo, therefore some of the plugins might get activated if I am back on track.Tried it now to get it run for about 15 hours:
– I also deactivated all plugins except buddypress and still did not get any of those sites working.
– Actiavated / Deactivated the plugins
– Used the repair tools
– looked into all my codes and fixed file endings such as empty space after ?> in php files
– Reassigned all sites
– Researched a lot in million of forumsAny hint, idea, glimps or full stack solution is highly appreciated.
Thanks, Chris
March 29, 2015 at 6:25 pm #236887In reply to: Admin bar translation?
danbpParticipantThe po file you used initially contains errors or missing strings. This file is on glotpress and indicate it is 100% translated. Problem is, that Glotpres doesn’t control the syntax and 100% translated doesn’t mean working to 100%.
If you use this po file as work base, you have already 95% translated and probably some typo errors. poEdit handle this and shows you which strings are not “completed” or have “changed”. In this case, you have to validate the translation. Such difference are highlighted in a different color, so they’re easy to see.
It’s not automated, but a kind of.
Similar topics
https://buddypress.org/support/topic/problem-with-spanish-translation/
https://buddypress.org/support/topic/po-not-working-on-registration-page/March 29, 2015 at 6:08 pm #236886In reply to: Admin bar translation?
GuidoFTOParticipantSo you are saying to get a POT file and produce a new Spanish translation from scratch as a .MO?
what i did is… get the .POT opened it and translated all the words called “Group”… i exported as .MO and uploaded to the buddypress translation directory and the word “Group” was successfully translated to Spanish as “Grupos”.
i guess translating all manually will solve my problem…
but is there a way to at least get some of it filled out automatically?
Regards
-
AuthorSearch Results