Translations

Pixie interface is fully translatable and supports multiple languages.

Currently active language can be specified via activeLanguage config option.

Multiple custom languages can be specified via languages option. Only the lines that you want translated need to be specified, lines that are not specified will fall back to original (english) value.

Translations are specified in a single key:value pair format. All available translation pairs can be found in lang.json file inside pixie folder:

{  "filter": "Filter",  "crop" : "Crop",  //...}

To translate, you need to specify and object with key:value pairs:

var pixie = new pixie({
    activeLanguage: 'en',
    languages: {
        en: {"filter": "Filter translated", "resize": "resize translated"},            
        ru: {"filter": 'фильтр', "resize": "изменить размер", "crop": "культура"},
    }
});