This chapter shows you how to translate a Warp based theme.
There are already a lot of different languages available for Warp. 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!
/languageand copy an existing directory, for example
.pofile and any strings located inside it to your language using Poedit and compile it to
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 WordPress themes.
Example text is the string and
warp is the text domain.
('Example text', 'warp')
All Warp themes are fully compatible with WPML. Here's a step-by-step guide of how to translate widgets with WPML.
ICL_LANGUAGE_CODE == 'en'
You can find the language code of your desired language in WPML > Languages > Edit Languages. Visit the WPML documentation for detailed information.