In the latest version of WP Auctions we’ve added localisation support, which means that the plugin has the ability to work in different languages without any changes or customisations to the code. It’s one of the abilities that WordPress plugins have, once you add all the different things in place for it to happen.
If you’re looking to translate the plugin into your respective language, here’s how you can do it. First of all, you need a plugin called Codestyling Localisation. Once you activate it, it adds a new menu item under Tools in your administration section. Click on this shows all the plugins you have that support localisation. You’ll see WP Auctions in the list together with any translation files (.po files) you already have.
If you want to translate the plugin into a new language, just click “Add New Language”. You’ll be shown a popup that lets you select a language:
Click on the language you’d like to create a translation for. The plugin will create the translation file for you, scan the plugin for any strings that you can translate and present a list for you to add your translations to.
The plugin has one exceptional feature that I just wasn’t expecting. When you try entering a translation for a particular phrase, it also gives you the option to get an automatic translation using the Google Translation services. Obviously, try and stick to languages you are familiar with; as machine translations can usually result in quite bizarre translations. But it’s an interesting feature.
Using the translation
Once you’ve prepared a translation file for a particular language you can upload it via FTP to the locales/ folder in the plugin. The correct folder location is wp-content/plugins/wp-auctions/locales/
We’d love to include your work in future versions of the plugin so that other users can make use of the plugin using the translation YOU created.