View Single Post
Old 12-21-2009, 07:56 PM  
harvey
Confirmed User
 
harvey's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: 127.0.0.1
Posts: 9,266
Quote:
Originally Posted by donnie View Post
I have a nice theme that I want to use for my blog and the theme comes with the .MO files in those languages I need. But how do I exactly use these files? Where do I put them so that theme understands it should use one of these files?

I have already translated entire WP to my language and I have a .MO file in the wp-content/languages folder. This file translates all the WP backend and some of the theme I am using. But how can I use .MO file that comes with the theme so I have a full translation?
WP has some nice, clear and exact answer to that. And faster than GFY, go figure.

anyway, you need to edit your wp-config file and look for define ('WPLANG', ''); and replace with define ('WPLANG', 'es_ES'); (or whatever language you want. If you want just the regular US English default, simply look for that line, which will have a language definition, and replace with define ('WPLANG', '');

Once you do that, create a language folder under wp-include folder and upload it. The WP help says you can create it under wp-include OR wp-content, but personally never have any luck creating it under wp-content. Maybe on other servers it may work, who knows
__________________
This post is endorsed by CIA, KGB, MI6, the Mafia, Illuminati, Kim Jong Il, Worldwide Ninjas Association, Klingon Empire and lolcats. Don't mess around with it, just accept it and embrace the truth
harvey is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote