Hello folks,
I really need some help with making my theme show up on codestyling localization plugin. I have tried lots of stuff and there are no scripting guard errors but codestyling localization refuses to show up. If anyone has a checklist of some kind on making a theme work with codestyling localization, please post it here or send me an email.
I’d really appreciate some help.
Thanks!
Maybe this is the shot in the dark, I never used the plugin so I don’t know exact requirements, but do you have default .po and .mo files and localization folder specified in your theme?
Hey Luke, send a mail for me, I can help you ;D
Waiting your message!
OriginalEXE said
Maybe this is the shot in the dark, I never used the plugin so I don’t know exact requirements, but do you have default .po and .mo files and localization folder specified in your theme?
Yep, po and mo file is in place in the languages folder with the load_theme_textdomain specified properly to that folder.
@RDever, just sent an email to you. I really appreciate all the help.
-M
Replied.
Waiting your reply ;D
- Sold between 250 000 and 1 000 000 dollars
- Has been a member for 5-6 years
- Author was Featured
- Item was Featured
- Author had a File in an Envato Bundle
- Author had a Free File of the Month
- Interviewed on the Envato Notes blog
- Referred between 200 and 499 users
This might help:
load_theme_textdomain( 'yourtextdomain', TEMPLATEPATH.'/lang' ); $locale = get_locale(); $locale_file = TEMPLATEPATH."/lang/$locale.php"; if ( is_readable($locale_file) ) require_once($locale_file);
- Community Superstar
- Item was Featured
- Author was Featured
- Has been a member for 5-6 years
- Won a Competition
- Sold between 50 000 and 100 000 dollars
- Bought between 10 and 49 items
- Referred between 50 and 99 users
- Europe
Once I was adding the define code in the functions.php file, not in the main config.cfg file. This thing:
define('WPLANG', 'en_EN');
lots of head smashing 
