352 posts Premium Website Design
  • Top Monthly Author
  • Trendsetter
  • United States
  • Weekly Top Seller
+7 more
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!

1565 posts
  • Affiliate Level 2
  • Author Level 5
  • Collector Level 2
  • Featured Author
+2 more
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?

154 posts WordPress Wizard
  • Trendsetter
  • Weekly Top Seller
  • Elite Author
  • Featured Author
+7 more
CODE9RS
says

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

Waiting your message!

352 posts Premium Website Design
  • Top Monthly Author
  • Trendsetter
  • United States
  • Weekly Top Seller
+7 more
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

154 posts WordPress Wizard
  • Trendsetter
  • Weekly Top Seller
  • Elite Author
  • Featured Author
+7 more
CODE9RS
says

Replied.

Waiting your reply ;D

1085 posts
  • Trendsetter
  • Weekly Top Seller
  • Top Monthly Author
  • Elite Author
+12 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);
3072 posts
  • Affiliate Level 3
  • Author Level 6
  • Collector Level 2
  • Trendsetter
+8 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
by