Translation

You can help translating YOOtheme Pro to your language at any time. We work with OneSky, a simple and easy platform where you can upload language files and work together on localization.

Feel free to join YOOtheme Pro on OneSky. After a fast sign up you can help correct existing translations.


Contribute to Translations

We created two different projects, one for the YOOtheme Pro administration and one for the actual Joomla site.

OneSky projects

Choose the project and language you want to help translate by clicking on it. This will open the OneSky editor.

OneSky editor

The editor shows the original phrases on the left-hand side, you can provide the translation for each phrase on the right. After submitting the translation, it will automatically be updated in the next release of YOOtheme Pro.


Request a Language

If your language is not listed in the available languages, please send an email to info@yootheme.com, and we will add the requested language.

Any contribution is much appreciated. Thank you!


Custom language files

To add your own language files in order to change or extend the existing translations simply create a new module in the child-theme. In ths module you can listen to the theme.admin event and add own language files to the translator. This is especially useful if you have created custom elements for the builder and want to translate field names or descriptions.

'theme.admin' => function ($theme) {
    // Before customizer is rendered (admin view)
    $theme->app->translator->addResource("{$this->path}/languages/{locale}.json");
}

Create a new folder languages in the child-theme directory and add a translation file for each locale you want to translate, e.g. en_GB.json. Then add the language strings you want to translate as key: value to the file. You can find examples in the existing language files in the main template in vendor/yootheme/theme/languages

YOOtheme Pro