Like surquizu I noticed the localization in the german v1.4 firmware.
see main.xml lines 632ff
Code:
<?xml version="1.0" encoding="UTF-8"?>
<document xmlns="http://www.kinoma.com/fskin/1" href="x-id://model">
<assets>
..
..
</assets>
<code>
<function id="changeLanguage" params="lang">
this.LANG.setLanguage(lang);
</function>
</code>
<clock/>
<kbookLanguages id="LANG" default="de" width="0" height="0" visible="false">
<kbookLanguage lang="en" width="0" height="0" visible="false">
<assets>
<import href="kbookLanguageAssets_en-US.xml"/>
</assets>
</kbookLanguage>
<kbookLanguage lang="fr" width="0" height="0" visible="false">
<assets>
<import href="kbookLanguageAssets_fr-FR.xml"/>
</assets>
</kbookLanguage>
<kbookLanguage lang="de" width="0" height="0" visible="false">
<assets>
<import href="kbookLanguageAssets_de-DE.xml"/>
</assets>
</kbookLanguage>
</kbookLanguages>
I'm curious if it is possible to call this "changeLanguage" function from within a prs+ addon?
As old-school pascal/delphi coder, I'm stumbeling with all this objects, and can't figure out how to call the function, or to call it within the right context.
Any ideas are much appreciated.