This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Change language

  • Creator
    Topic
  • #7381
    cameleweb
    Member

    Hi!
    How do I change the default language from English to French?
    Thanks

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #7392
    Jason Bobich
    Keymaster

    Hello,

    In the WordPress world, they refer to translating WordPress as “localization” and so this theme comes “localization-ready”.

    This is the complete guide to get you started:

    http://codex.wordpress.org/Translating_WordPress

    Specifically to the theme, there is a file called default.po located in the “lang” folder of the theme. You download that file and translate the contents line by line. This process will be easier to manage if you use a program like poEdit, for example. That way you’ll be able to translate the file with a user-friendly interface and not a text editor. Then you save the file with your language code in the file name (ex: fr_FR.po for French, en_BR.po for British, etc). When you do this, poEdit will also create a second file for you with the same name ending in “.mo”. Then you need to upload these two new files back to “lang” folder of the theme on your live site.

    In order for the above process to work, you need to actually have your WordPress site set to be in your language. You do that by changing the language code in your wp-config.php file (which is found in the root directory or your WordPress installation). Here’s a guide on that process:

    http://codex.wordpress.org/Installing_WordPress_in_Your_Language

Viewing 1 replies (of 1 total)
  • The forum ‘Commodore WordPress Theme (formerly Complexity)’ is closed to new topics and replies.