Translators Guide

.

PyroCMS is multi-lingual CMS. This means you can switch between different languages, and if your language is not supported you can easily translate from one of the existing languages into yours.

Currently Supported

In progress (that we know about)

  • Polish

Would quite like:

  • Dutch
  • Italian
  • Russian

 


 

Adding new languages

To add a new language is very easy. The CodeIgniter language files are stored in both the following locations:

application/language/<language-name>/

application/modules/<module-name>/language/<language-name>/

To get these new folders, just copy the english folder, rename it and translate all of the English text into your language.

Other steps include:

  • Add your language to application/config/language.php with ‘folder’ being the CodeIgniter folder listed above, and name being whatever you call your language in its native tongue. Give it a 2 letter code that matches the 2nd colomn on the IS0 639-2 Languages Codes page.
  • Modify the details.xml file within each module directory to contain a name and description, using the same language code you inserted in the last step.
  • Finally, you will need to find the appropriate language pack for TinyMCE too. Those can be found here.

That should be it! For testing click on your new flag top right of the admin panel. If you get any language related errors and want to switch back to English, just add ?lang=en to any URL.