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
  • #724
    ratgax
    Member

    Hello,

    We’ve just got your theme and we’re trying to adapt our website. We’re spanish so I want to translate the theme to spanish, I’m editing the swagger.po, but don’t know how to configure it whent that’s done so it reads the spanish catalogue.

    Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #726
    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 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

    #1773
    inetinitiatives
    Participant

    We’ve created a localized Spanish version of Swagger… but the swagger.po file doesn’t appear to include strings for text embedded in widgets. For example, we need to change the default field labels in the Theme Blvd. Simple Contact widget so that they display in Spanish (URL to Contact Page: > “Contact Us” > needs to be “Contacto”).

    Do we need to add these lines to the .po file? Do we make these changes somewhere other than the .po file?

    Thanks for your help!

    #1783
    Jason Bobich
    Keymaster

    It should be in there already, but if it was missed somehow, this plugin should definitely allow you to change that text. http://wordpress.org/extend/plugins/theme-blvd-string-swap/

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