Search Results for 'translation'
-
AuthorSearch Results
-
October 25, 2010 at 12:47 pm #96430
In reply to: 1.2.6 Upgrade – Lost translation
danbpfr
ParticipantThis buggy message is annoying (a synchronizing delay between WP update service and your site), but not important.
At the place where this message appears, you have option button who says “hide this option ?”.
You can use it, or if the button does not appear, wait a few hours or can add this at the end of the file wp-includes/version.php
$wp_local_package = ‘pl_PL’; (will be lost at the next WP update)October 25, 2010 at 12:38 pm #96428In reply to: 1.2.6 Upgrade – Lost translation
danbpfr
ParticipantI have had the same text “WordPress 3.0.1 is available! Please update now.” appearing on the admin page. Should be a bug, but don’t be affraid of it, your site is updated. View the version number of WP at the bottom right of your admin interface.
October 25, 2010 at 11:47 am #96424In reply to: 1.2.6 Upgrade – Lost translation
Mark
Participantwhat should the access code be on these files? Do they need read/write status?
October 25, 2010 at 11:43 am #96422In reply to: 1.2.6 Upgrade – Lost translation
Mark
ParticipantI dont know if its related but I am on bp 3.0.1 and I still get the error WordPress 3.0.1 is available! Please update now.
October 25, 2010 at 10:30 am #96419In reply to: 1.2.6 Upgrade – Lost translation
Mark
ParticipantI just reuploaded both sets and now neither is translated, very odd.
October 25, 2010 at 10:21 am #96417In reply to: 1.2.6 Upgrade – Lost translation
danbpfr
Participantpl-PL.po is a translation for the WP part – PAth: wp-content/languages
buddypress-pl_PL.po is the BP translation. – Path: wp-content/plugins/buddypress/bp-languagesif you put pl_PL.po in the bp-languages folder, neither WP or BP are translated.
October 25, 2010 at 10:13 am #96415In reply to: 1.2.6 Upgrade – Lost translation
Mark
ParticipantHey @waclawjacek.
If the bp translation is in place I have no option to change language. If both are in place I can change language and wp is translated bp is not.
I have wplang etc in place.
Do you upload the bp files as pl_PL.po or buddypress_pl_PL.po etc?
Thanks a lot.
October 24, 2010 at 2:10 pm #96309In reply to: 1.2.6 Upgrade – Lost translation
Waclaw Jacek
ParticipantDear Mark!
I have just installed BuddyPress 1.2.6 along with WordPress 3.0.1, installed translations for both and put `define (‘WPLANG’, ‘pl_PL’);` inside wp-config.php. Everything seems to work fine, even if only the BuddyPress translation is in place.
October 23, 2010 at 10:43 am #96188In reply to: 1.2.6 Upgrade – Lost translation
Paul Wong-Gibbs
KeymasterIf you can’t find who it is @markhahnel, ask on http://lists.automattic.com/mailman/listinfo/wp-polyglots
October 22, 2010 at 9:56 pm #96139In reply to: Multi-language edition
Carlos Perez
ParticipantI think the best solution is to have two separate .mo files with the interface translation and set the translation on wp-content/plugins/bp-custom.php (If you havent the file, create one) with the following code
$lang = substr($_SERVER, 0, 2);
switch ($lang){
case ‘en’:
define( ‘BPLANG’, ‘en’ );
if ( file_exists( BP_PLUGIN_DIR . ‘/bp-languages/buddypress-en.mo’ ) ) {
load_textdomain( ‘buddypress’, BP_PLUGIN_DIR . ‘/bp-languages/buddypress-en.mo’ );
}
break;
case ‘es’:
define( ‘BPLANG’, ‘es’ );
if ( file_exists( BP_PLUGIN_DIR . ‘/bp-languages/buddypress-es.mo’ ) ) {
load_textdomain( ‘buddypress’, BP_PLUGIN_DIR . ‘/bp-languages/buddypress-es.mo’ );
}
break;
}
Check that the filenames are the sameThis code detects automatically the browser language and defines the language.
Follow this article to find more about this
https://codex.buddypress.org/buddypress-site-administration/customizing-labels-messages-and-urls/October 22, 2010 at 10:31 am #96033In reply to: RSS activity feed is blank (solved)
danbpfr
ParticipantCDATA means caracter datas and doesn’t need to be passed encoded. So my conclusion is that there is somewhere a double encoding or something like this. Anyway.
I changed the code in bp-activity-template-tags.ph:1031
From
`//$title = trim( strip_tags( html_entity_decode( utf8_encode( $content[0] ) ) ) );
To
$title = strip_tags(html_entity_decode( html_entity_decode( $content[0] ) )) ;`and retrieved the accent in the translation. Now i have the title in the feed with a correct output on the title given by the user
When the accent is passed trought the translation ( i tried a normal, accent, & eacute and # &233 ) the feed fails.view here:
http://bp-fr.net/activity/feed/October 22, 2010 at 9:14 am #96032In reply to: RSS activity feed is blank (solved)
danbpfr
ParticipantThis morning i changed somme phrase in the translation and i can see this in the activity RSS feed:
<
-
AuthorSearch Results