Language Packs
Available language packs
Ready-to-use language packs can be found in the code repository.
Summary
Language packs currently contain the translations for the web interface and the display. Additional translations for e.g. the event log will follow.
Installation / Upload of language packs
Language packs can be uploaded to the device using the Config Management function. Select "Language Pack" in the restore section, select a .json file containing your language and press "Restore". Afterwards all language selection drop-down menus contain the new language.
File structure
Meta data
The language pack contains a meta
section with the following parameters:
name
: Human readable name of the language. Will be used in the frontend (Should be in the appropriate language)code
: Set 1 ISO1 code of the language
Display data
The display
section contains all the translation keys used for externally connected displays. The following parameters are used:
date_format
: "%d/%m/%Y %H:%M" or similar, seestrftime
format or consult a cheat sheetoffline
: Text if the inverters are offline
The following parameters shall contain text (a label) and a format
specifier2 like %.1f
to format the respective floating point value:
power_w
: Current inverter output power in Wpower_kw
: Current inverter output power in kWmeter_power_w
: Current power meter reading in Wmeter_power_kw
: Current power meter reading in kWyield_today_wh
: Inverter daily yield in Whyield_today_kwh
: Inverter daily yield in kWhyield_total_kwh
: Inverter total yield in kWh and one decimal placeyield_total_mwh
: Inverter total yield in MWh and zero decimal places
WebApp data
The webapp
section contains all the translation keys as used in the web app.