In combination with #83, this patch gives the javascript environment access to the sim's language and locale. They can be accessed directly from config. targetDeviceLanguage and config. targetDeviceLocale.
However, the sensible way to access them is via the new methods on UIATarget: target().language() and target().locale().
In combination with #83, this patch gives the javascript environment access to the sim's language and locale. They can be accessed directly from
config. targetDeviceLanguage
andconfig. targetDeviceLocale
.However, the sensible way to access them is via the new methods on
UIATarget
:target().language()
andtarget().locale()
.