Table of Contents

Interface Localization

Localization of STB's interface is based on library using gettext

Utility for easy transfer - Poedit

The order of the localization

locale -a
sudo dpkg-reconfigure locales

In some cases it is neccessary to restart apache.

Add/rename TV and videoclub genres

To change the existing one it is enough to add it using Poedit.

Settings

Settings should be translated separatly in stalker_portal/external/settings/js/langs/

Then add new language in /external/settings/index.html in

var all_lang=[“ru”,“bg”,“uk”];

so it will be for example like next

var all_lang=[“ru”,“bg”,“uk”,“sk”];

New Admin interface

New files according to new localization should be created in:

stalker_portalserver/adm/plugins/form-validator/lang/
stalker_portal/server/adm/plugins/datatables/lang/