Search Results for 'translation'
-
AuthorSearch Results
-
April 22, 2009 at 7:10 am #43205
In reply to: Localisation, per user
2545516
InactiveI would also be interested in a language drop down in Spanish and Portuguese and probably could help with the translation if needed
April 19, 2009 at 8:18 am #42945In reply to: Translating BuddyPress
hammerfar
ParticipantAbout to start a danish translation of BuddyPress. Currently considering to use either LaunchPad or Pootle as our collaboration tool.
Anyone know if Dreamcolor expects to initiate the LaunchPad project:
https://translations.launchpad.net/buddypress or release the ownership, for others to use it?
Suggestion: why don’t we settle on the same tool to use, eg LaunchPad – would make it easier for other to take part of the work.
April 10, 2009 at 6:38 pm #42304In reply to: Several widgets disappear when .mo file installed
Jeff Sayre
ParticipantFor all who are still having this issue. There was a bug fix 3 weeks ago that addressed this issue. See Changeset 1244. All widgets that come with BuddyPress were fixed with this revision.
If you are not running at least BuddyPress r1244, then you will still have issues.
Note: Custom widgets (3rd-party developed widgets), may or may not have implemented this bug fix. Therefore, if you are having translation issues with non-core BP widgets, you will need to contact the developer directly.
April 10, 2009 at 6:13 pm #42300In reply to: Several widgets disappear when .mo file installed
BuddySwe
ParticipantSome questions….
1) Remove all your bp widgets. (Done that)
2) Open translation.po
(Where is that file located?)
3) Find bp-core/bp-core-widgets.php (it is mentioned many times and write down the line numbers)
(Didn’t find it….) ??
4) Open mu-plugins/bp-core/bp-core-widgets.php
5) Translate manually the lines where the translation file was supposed to do it.
(Can anyone tell me the line numbers?)
6) re-upload mu-plugins/bp-core/bp-core-widgets.php
7) activate widgets that now will be named on your translation language e.g. “welcome” will be “Bienvenido”
send me a beer!(Ill send you 20 beers if you help me)

Thanks yall!!
April 9, 2009 at 8:11 pm #42201In reply to: How to generate .pot files for translation?
takuya
Participantthanks a lot! that page didn’t show up when I googled wordpress and pot …
April 9, 2009 at 9:45 am #42160In reply to: How to generate .pot files for translation?
net3s
ParticipantWith poedit.
See https://codex.wordpress.org/User:Skippy/Creating_POT_Files
April 8, 2009 at 9:48 pm #42127In reply to: I want to speak Spotlish
Lance Willett
ParticipantAh — you mentioned RC1. Then yes, the BuddyPress plugins would be in “mu-plugins” still.
Write in new language to msgstr within buddypress.pot and save as buddypress-spots.mo
Make sure you are creating the MO file from a PO file, which is in turn a copy of the POT that is bundled with BuddyPress.
Your “bp-languages” directory should look something like this:
buddypress.pot
buddypress-mysite.po
buddypress-mysite.moIf you have trouble editing the POT or PO in a text editor, you can use special software also — see https://codex.wordpress.org/Translating_WordPress and look for “Translation Tools.” In my opinion those are overkill for this type of thing, though.
April 8, 2009 at 2:46 pm #42091In reply to: I want to speak Spotlish
Lance Willett
ParticipantEzra,
When you are editing the language file (after copying the POT to a PO), you will see two lines for each entry: a msgid and a msgstr — the message id and the message string. For example:
msgid "Group Wire"
msgstr "Group Wall"The important thing is to only edit the message string, not anything else. The message id, as well as the lines above it that indicate which file and line the entry belongs to, are essential for the language translation to work and should not be touched.
April 6, 2009 at 4:32 am #41900In reply to: header.php buttons – selected class
Burt Adsit
ParticipantThe ‘buddypress’ you are talking about is the translation text domain.
April 3, 2009 at 8:09 pm #41752In reply to: How do you call Wire in your language?
ostropunk
ParticipantI always associated wire with the telegraph. The Swedish translation has it as “kanal”, that’s channel in English. I changed it to “trÃ¥d” which translates to thread. In this context it is however closer to wire as in wireless communication which translates to “trÃ¥dlöskommunikation”. The Swedish word “vajer” simply don’t hold the communication meaning the word has in English.
April 1, 2009 at 2:52 pm #41594In reply to: don´t load language on ajax request
Burt Adsit
ParticipantHello. Hmmm. Never thought of that. Let me go look at this.
(later)
I don’t see how that is possible. When bp does an ajax call it loads the wp environment and all plugins get fired up including bp. Doing all that loads the translation files if your site is setup that way. The call is in bp-core.php.
April 1, 2009 at 11:20 am #41578In reply to: What about README translation ?
Paul Wong-Gibbs
KeymasterSuggest waiting for v1.0 before translating as odds are the readme.txt will be rewritten seeral times before then.
April 1, 2009 at 11:04 am #41576In reply to: What about README translation ?
Aron Jay
Participantask Trent.
March 28, 2009 at 2:32 am #41206In reply to: I want to speak Spotlish
Lance Willett
ParticipantNo side effects that I know of, though our setup is still \”young\” (only been live for just over a month) so I don\’t know the long-term implications yet.
One thing I will mention, though — if you site has been live for a while you\’ll have to do some SQL cleanup in the database to rename things that have been cached (like user activity). For example:
UPDATE wp_bp_activity_sitewide SET content = replace(content,\' wire:\',\' wall:\');What do you have to do different now that you didn\’t before you had the faux translation?
Actually, the biggest difference is a positive one: instead of hand-changing all the instances of \”Wire\” in the plugin and theme files we keep that in the language file instead. Since the language file (and the bp-custom file) aren\’t in the BuddyPress SVN repo they will never get overwritten when we upgrade.
March 28, 2009 at 12:06 am #41196In reply to: I want to speak Spotlish
Burt Adsit
ParticipantHa! I knew it was a good idea. I do have one every once in awhile.
Any side effects of this we should know about Lance? What do you have to do different now that you didn’t before you had the faux translation?
March 27, 2009 at 9:34 pm #41183In reply to: Rename Wire Link
Lance Willett
ParticipantTo create a custom translation file just for the purpose of label changes, see my instructions in https://buddypress.org/forums/topic.php?id=1877#post-9927.
To be honest, that’s all I did with my translation was change “Wire” to “Wall” for the BuddyPress setup at Tucson Digital Arts Community.
March 27, 2009 at 9:24 pm #41181In reply to: I want to speak Spotlish
Lance Willett
ParticipantHere is how I did a custom translation to replace slugs and labels. I’m replacing my language name with spots so you can see how it would work for you.
1. First I opened the POT file, copied it to a .po version, and then made the changes I wanted in a text editor (most with search and replace, but also had to do some new lines by hand).
2. I uploaded the .po file to my web server, and ran this from a command line:
msgfmt -o buddypress-spots.mo buddypress-spots.po3. In my bp-custom file (wp-content/mu-plugins/bp-custom.php) I added a language definition:
define( 'BPLANG', 'spots' );
if ( file_exists( ABSPATH . MUPLUGINDIR . '/bp-languages/buddypress-' . BPLANG . '.mo' ) ) {
load_textdomain( 'buddypress', ABSPATH . MUPLUGINDIR . '/bp-languages/buddypress-' . BPLANG . '.mo' );
}
4. Then I went into wp-content/mu-plugins/bp-languages and added the spots.mo file there.
This solution is better (in my opinion) than using the define (‘WPLANG’, ”); in your wp-config.php file, and won’t break when you upgrade BuddyPress.
March 27, 2009 at 4:35 pm #41170In reply to: I want to speak Spotlish
Burt Adsit
ParticipantThe reason I suggested the translation route is that modifying the theme causes people to hesitate when upgrading. They don’t want to lose any custom they have. If I’m operating off a working copy of the svn trunk I can take my chances on an svn merge going ok. That it will skip my custom. However if my upgrade process is to replace the old code with the new code, just upload to the server, then I’m less likely to upgrade bp.
If it’s possible to achieve a solution without touching *any* code, I’m all for it.
March 27, 2009 at 9:46 am #41133In reply to: Rename Wire Link
trcwest
Participantyes i want to doo this too andy…
You could create a custom translation file and rename everything how you like.
I am just wanting to know how to do it properly and as of yet i have not found a simple show how… that is how to edit the .pot and then impliment it..
March 27, 2009 at 12:38 am #41108In reply to: Swedish translation done
trcwest
Participantim interested in using translation to change the words groups and group to spots and spot respectively..
so basically use the translation technique to change and customise what things are called on the site..
March 22, 2009 at 7:56 am #40614In reply to: When will buddypress release stable version?
Burt Adsit
Participantipin, new translation files are generated frequently. Check the svn trunk for notifications such as this: POT, generated from r1247
I believe that one was generated this past Friday.
March 21, 2009 at 12:18 am #40572In reply to: BPDEV Plugins have now localization support
danbpfr
Participanti made a french translation; Where can i give it to you ?
Dan
.mo and .po files downloadable from here:
http://buddypress-fr.net/bpdemo/2009/03/21/traduction-pour-buddypressdev/
March 16, 2009 at 5:28 pm #40138In reply to: link problem with multilanguage installation
Burt Adsit
ParticipantThe member theme and some core functions all refer to the main blog. The will use whatever translation is active on that blog.
March 14, 2009 at 3:14 am #39973mspecht
ParticipantCould this be done initially via a custom translation?
March 14, 2009 at 2:53 am #39971In reply to: Several widgets disappear when .mo file installed
z-20
MemberHello all.
I had this same problem when I tried to use the Portuguese translation and this is how I fixed it.
1) Remove all your bp widgets.
2) Open translation.po
3) Find bp-core/bp-core-widgets.php (it is mentioned many times and write down the line numbers)
4) Open mu-plugins/bp-core/bp-core-widgets.php
5) Translate manually the lines where the translation file was supposed to do it.
6) re-upload mu-plugins/bp-core/bp-core-widgets.php
7) activate widgets that now will be named on your translation language e.g. “welcome” will be “Bienvenido”
send me a beer!Voila!
-
AuthorSearch Results