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.

.mo files

  • Creator
    Topic
  • #2334
    tox
    Member

    Where can I find .mo files in German and Swedish for the Swagger theme?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #2353
    Jason Bobich
    Keymaster

    There aren’t any. The theme comes with an un-translated swagger.po file. When you open this file in poEdit, you would translate it into the desired language, then save it out as {language_code}.po. When you do this, poEdit will automatically also create a .mo file to go along with it. Then you would use both of these files.

    Here’s a longer description of the entire process:

    =================

    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 swagger.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

    #2442
    tox
    Member

    Thank you, very informative and to the point.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The forum ‘Swagger Responsive WordPress Theme’ is closed to new topics and replies.