BuddyBoss Home – Web › Support Forums › Themes › Boss. theme › Translations
- This topic has 5 replies, 2 contibutors, and was last updated 9 years, 7 months ago by Alyssa.
Question
April 8, 2015 at 1:07 pm #38650@mozartcHello,
I´ve translated the theme for brazilian portuguese with poedit. Now I have the pt_BR.po e pt_BR.mo file. I went to the child theme functions.php > Languages > and I ve uploaded both files ( pt_BR.po e pt_BR.mo )
But it didnt work! No translations were made. So I went to the Boss 1.1.4 > Languages and did the same upload (pt_BR.po e pt_BR.mo) still doenst work.
Please provide me some help with that. The code that I’m using is standard, as you can see below.
// Translate text from the PARENT theme.
load_theme_textdomain( ‘boss’, get_stylesheet_directory() . ‘/languages’ );// Translate text from the CHILD theme only.
// Change ‘boss’ instances in all child theme files to ‘boss_child_theme’.
// load_theme_textdomain( ‘boss_child_theme’, get_stylesheet_directory() . ‘/languages’ );}
add_action( ‘after_setup_theme’, ‘boss_child_theme_setup’ );Regards,
Mozart
Answers
April 8, 2015 at 6:15 pm #38681@alyssa-buddyboss
AlyssaParticipant@mozartc have you tried using the codestyling plugin? This tends to solve many users translation issues.
April 8, 2015 at 6:28 pm #38684@mozartcI Just did. It did not work.
April 8, 2015 at 6:51 pm #38690@mozartc@tjchester the CodeStyling plugin that I ve used was CodeStyling Localization Preserver. Another one that I ve tried was Codestyling Localization. Both doesnt work. What is plan B?
Regards,
Mozart
April 9, 2015 at 4:01 pm #38718@mozartc@tjchester I cant lauch my site until the translations are done. Unfortunatly it doesnt make any sense to have a social network in a language that my customers dont speak, so i’m really worried about it.
Please, help me. I have a business to run here and I have a lot of preasure under this.
Regards,
Mozart
April 9, 2015 at 7:15 pm #38735@alyssa-buddyboss
AlyssaParticipant@mozartc please send a copy of your issue with URL and admin credentials to [email protected]
- The question ‘Translations’ is closed to new replies.