ThemeForest

Codestyling Localization Support

109 posts Premium Website Design
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Exclusive Author
  • Has been a member for 1-2 years
  • Bought between 10 and 49 items
ThemeFusion says

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!

668 posts
  • Sold between 5 000 and 10 000 dollars
  • Exclusive Author
  • Croatia
  • Bought between 10 and 49 items
  • Has been a member for 1-2 years
OriginalEXE says

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?

101 posts WordPress Wizard
  • Microlancer Beta Tester
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Most Wanted Bounty Winner
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 2-3 years
XiaoThemes says

Hey Luke, send a mail for me, I can help you ;D

Waiting your message!

109 posts Premium Website Design
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Exclusive Author
  • Has been a member for 1-2 years
  • Bought between 10 and 49 items
ThemeFusion says

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

101 posts WordPress Wizard
  • Microlancer Beta Tester
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Most Wanted Bounty Winner
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 2-3 years
XiaoThemes says

Replied.

Waiting your reply ;D

1072 posts
  • Sold between 250 000 and 1 000 000 dollars
  • Elite Author
  • Has been a member for 5-6 years
  • 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
+4 more
damojo says

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);
2983 posts
  • Community Superstar
  • 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
+1 more
wickedpixel says

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 :P
by
by
by
by
by