Create language files
This tutorial shows you how to translate a Warp based theme. Let's say we want a site with Russian as the frontend language. To add the Russian language support to our template just follow the steps for the different systems.
Joomla
Go to the directory /warp/systems/joomla/language. Copy the directory en-GB and rename it to ru-RU. Do the same with the .ini files in the directory. That's it, now you only need to translate the content of ru-RU.tpl_warp.ini to your language.
Here is a short example of how the translatable language strings are used in the Joomla templates. TPL_WARP_EXAMPLE is the language variable:
JText::_('TPL_WARP_EXAMPLE')
WordPress
Go to the directory /languages of your theme. Copy the file en_US.po and rename it to ru_RU.po. Now you can translate the .po file and any strings located within it to your language using Poedit and compile it to ru_RU.mo. For further instructions please take a look a the Translating WordPress tutorial.
Here is a short example of how the translatable language strings are used in the WordPress themes. Example Text is the string and warp is the text domain:
('Example text', 'warp')
Are there any Language packs already?
Yes, there are already a lot of different language packs available for Warp on Github.
Please help us out! If you want to contribute to our language pack, fork it at Github and send us a pull request. Any contribution is much appreciated. Thank you!
