translation breaks about

asked 2015-09-29 12:54:15 -0800

ManniAT gravatar image

Hi,

I created a simple test JS using control panel (on Arduino Yun). To show it (for an example in AllJoynExlorer) with a "fine" Name I added:

AJ.store("DeviceName", "My Sensor"); AJ.store("Manufacturer", "TestCompany"); AJ.store("Description", "MySensor Values"); AJ.store("AppName", "MyAppName"); AJ.store("ModelNumber", "0.1");

This works also as expected.

After adding AJ.translations = { en: { }, de: { "MyVal":"MeinWert", ....

AllJoynExplorer shows an element named "AllJoyin...." So it seems as if I'm missing something in AJ.translations...

And also the call to AJ.store("DeviceName", "My Sensor"); results that all sample scripts now show as "My Sensor" in the Explorer.

How do I correctly change the above values for a single script - including AJ.translations.

Manfred

edit retag flag offensive close merge delete

Comments

you should ask on the core mailing list: https://lists.allseenalliance.org/mailman/listinfo/allseen-core

ry.jones ( 2015-09-30 18:48:38 -0800 )edit