Limited time only! The Ultimate WordPress Developer Bundle only $149

Mysitemyway
  • Home
  • Themes ˇ
    • Construct
    • Myriad
    • Method
    • Fusion
    • Elegance
    • DejaVu
    • Persuasion
    • Modular
    • Echelon
  • Features
  • Pricing
  • Blog
  • Skin Browser
  • Support ˇ
    • FAQ’s
    • Documentation Wiki
    • Support Forum
    • Contact Us
  • Login
    • Forgot Password?

Translating your site

Home / Documentation / Translating your site
 

Contents

  • 1 Introduction
  • 2 Setting the default language for Wordpress
  • 3 Translating the theme .pot file
  • 4 Uploading the .mo file
  • 5 More on language codes
  • 6 Community translated .mo files

Introduction

In case you wish to translate one of our themes to another language then here is a tutorial on how to do so.

In case you are wanting to make your site bilingual, meaning your content is available in multiple languages then you will need to use a plugin such as QTranslate or WPML.

http://mysitemyway.com/docs/index.php/QTranslate
http://mysitemyway.com/docs/index.php/Using_WPML

Setting the default language for Wordpress

After installing Wordpress open up your wp-config.php file and around line 72 you should see this,

define('WPLANG', '');

This is where you set the language of your Wordpress installation. For example if you wanted to change your language to french then you would do this,

define ('WPLANG', 'fr_FR');

Translating the theme .pot file

Navigate to your theme folder, /wp-content/themes/[your_theme]/, and you should see a folder called /languages/. Inside you'll find the theme .pot file.

Inside this file you'll find all of the theme texts ready to be translated. The best way to translate them is with a program called Poedit. http://www.poedit.net/

After installing Poedit you'll open up your .pot file and start translating all of the texts, http://mysitemyway.com/docs/index.php/Using_WPML#Theme_Translation, after saving your changes Poedit will create a .mo file for you.

Uploading the .mo file

First off rename your .mo file to whatever language code you are using. In our above example we set the Wordpress language to french so in this case we would rename our .mo file to fr_FR.mo

The first two letters are the language code and the last two are the country code.

Next upload your .mo file into /wp-content/themes/[your_theme]/languages/ for Wordpress to pick it up. If you do not have a languages folder then go ahead and create one.

More on language codes

If your confused on which language or country code you should be using you can look it up here,

http://www.gnu.org/software/gettext/manual/html_chapter/gettext_16.html#Language-Codes http://www.gnu.org/software/gettext/manual/html_chapter/gettext_16.html#Country-Codes

Community translated .mo files

Dutch: by hydra - http://mysitemyway.com/support/topic/theme-translation-uploads

Retrieved from "http://mysitemyway.com/docs/index.php/Translating_your_site"
Category: Customization
Navigation
  • Get Started
  • Archives
  • Advanced Search
  • Category List
Categories
  • Configuration
  • Shortcodes
  • Customization
  • Advanced Features
  • Troubleshooting
  • Changelogs
  • Plugins
  • Framework Docs
Theme Specific
  • inFocus
  • Awake
  • Dejavu
  • Elegance
  • Echelon
  • Modular
  • Persuasion
  • Fusion
  • Method
  • Myriad
  • Construct
Toolbox
  • What links here
  • Related changes
  • Special pages
  • Printable version
  • Permanent link
 
Personal tools
  • Log in
prev
Construct WordPress Theme
detailspurchase
Construct wordpress theme
Myriad WordPress Theme
detailspurchase
Myriad wordpress theme
Method WordPress Theme
detailspurchase
Method wordpress theme
Fusion WordPress Theme
detailspurchase
Fusion wordpress theme
Elegance WordPress Theme
detailspurchase
Elegance wordpress theme
Echelon WordPress Theme
detailspurchase
Echelon wordpress theme
Persuasion WordPress Theme
detailspurchase
Persuasion wordpress theme
Dejavu WordPress Theme
detailspurchase
Dejavu wordpress theme
Modular WordPress Theme
detailspurchase
Modular wordpress theme
next
Start Your Free Trial

Come and be a part of the fastest growing new Premium WordPress Theme Club around!

Quick Links

  • Browse All Themes
  • Tour Features
  • Browse All Skins
  • View Pricing
  • Mysitemyway Blog
  • Affiliate Program
  • Testimonials

Support Links

  • Frequently Asked Questions
  • Support Forums
  • Theme Documentation
  • Shortcode Documentation
  • Contact Us

Theme Features

  • Features Overview
  • Dedicated Support Team
  • Enhanced Performance
  • Shortcode Generator
  • Free Updates
  • Skinning Community

Live Demos

  • Construct WP Theme
  • Myriad WP Theme
  • Method WP Theme
  • Fusion WP Theme
  • Elegance WP Theme
  • Echelon WP Theme
  • Persuasion WP Theme
Mysitemyway Money Back Guarantee
30 Day Money Back Guarantee

We stand behind the quality of our themes, and believe that you will be fully satisfied. If, for any reason you are not fully satisfied, we offer a 30 day, no-hassle, money-back guarantee.

Who's Using Mysitemyway?

11361 Users Can't Be Wrong...
121517 Support Forum Posts!
I've been working with WordPress for a while now and I wanted to say that MysiteMyway is by far the best support I have come across. I've purchased about 30 themes, Dejavu was the first from these guys and I couldn't be happier!

Layers

Your themes and support are the best in the entire Internet universe! Over the years I have bought many themes that never work as advertised. Your 30 day money back guarantee is a no brainer risk on your part: Who would ever want their money back? The designers, QA and support staffs are a throwback to the good old days when businesses cared about the quality of their products and their customers.

Frank Gennaro

I just wanted to say, that this theme is absolutely amazing. The documentation is superb and the customer service is above and beyond! I would have spent MORE for such expertise and service that you receive with this product.
Thanks so much and keep up the amazing work!!!

wildefranz

Just a quick thanks for producing such wonderful themes. I can’t tell you how much I appreciate the amount of time, skill and craftsmanship that wen’t into these. The detail is incredible, every corner I peak into I find something that surprises me. And the documentation, it’s extremely well written and very easy to follow.

Well done,

Ed

Great Support !!! & very powefull WP Theme… Super Flexible %100 recommended

JavierDesigns

PrevNext

Join The Mailing List

Powered By
Powered By WordPress Logo Powered By PayPal Logo Powered By Mysitemyway Logo Powered By Firehost Logo
Follow Us
Mysitemyway RSS Mysitemyway Facebook Mysitemyway Twitter
© 2011 Mysitemyway. All Rights Reserved.
Privacy Policy | Terms & Conditions