This chapter shows you how to translate a Warp based theme.
There are already a lot of different languages available for Warp.
/language
and copy an existing directory, for example /en-GB
./ru-RU
)..po
file and any strings located inside it to your language using Poedit and compile it to xx_XX.mo
.For further instructions, please take a look at 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.