GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   How to translate a WP theme? (https://gfy.com/showthread.php?t=944634)

donnie 12-21-2009 02:12 PM

How to translate a WP theme?
 
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?

fatfoo 12-21-2009 02:24 PM

I can't answer detailed technical questions regarding WP themes.

Bump for answers.

CaptainWolfy 12-21-2009 03:28 PM

i installed regional wordpress, and just enabled the theme in wp, i needed to change some graphics that's all.. here if this can help:
http://codex.wordpress.org/WordPress_in_Your_Language

harvey 12-21-2009 07:56 PM

Quote:

Originally Posted by donnie (Post 16669959)
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

Agent 488 12-21-2009 07:57 PM

babelfish.


All times are GMT -7. The time now is 07:34 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123