Create your own PHP website builder! Support Buy

Translate MultiSite

THIS WORKS ONLY FOR NEWLY CREATED WEBSITES!!!

Admin interface

To change the default language of administration panel, create file file/ms_config/customLocale.php with following content:

<?php
$config['adminLocale'] = 'xx';

Please have a look at Ip/Internal/Translations/translations directory for available languages. If your language is not there, create it and place it as file/ms_website_skeleton/file/translations/override/Ip-admin-xx.json Replace xx with code of your language.

Public interface

First add translations file to to file/ms_website/skeleton/file/translations/override/Ip-xx.json (you will find existing translations in translations.zip bellow).

Then add following SQL query to file/ms_modifications.sql

update ip_language set `abbreviation` = 'XX', `title` = 'Xlanguage', `code` = 'xx' where `code` = 'en';
update ip_page set `languageCode` = 'xx' WHERE 1;