How to translate my Church Admin Plugin

I love the fact that Church admin is being used in so many nations now – why not help by translating it?

It’s easier than you think. Firstly you need a free program call Poedit from www.poeditor.net – it works on Mac and Windows

Once installed open it up and click on “Create a new translation” if you are starting a new translation or open existing if updating one.
screen1

Then select a “po” file from the languages folder to translate from default.po is the UK English file
screen2

For a new translation – you’ll have the option to set the translation language at this point. then click on each source text in turn and type in the translation in the bottom “Translation box”
screen3

When you have finished click “Validate” to make sure it’s valid, which will hopefully bring up the following alert box

no problems
Click okay and then save.

Poedit will have started the filename with the correct language and country code you have chosen earlier – in this case American English (with all it’s butchering of the Queen’s English 😉 )

save-as1

WordPress has a naming convention where you need to prepend that with the plugin name and a hyphen – so the filename becomes church-admin-en_US.po

Then click save. You can then upload for your own use. Please email me the file to “clients AT themoyles DOT co DOT uk”, so I can add it to the WordPress repository for use by others too.

Thanks

Last step! You need to internationalise your installation, if you haven’t already!
In wp-config.php add the line

define(‘WPLANG’, ‘en_US’);

where you use the right language and country code for your nation and language

Leave a Reply

Your email address will not be published. Required fields are marked *