Hello everybody i have two questions.

1) As I understand widgets can have only one html page. So, we can not have more than one pages in a widget, and we use HTML DOM instead, which means we can not use window.history.back() functionality of js. Tell me if I am right or wrong.

I want to let the user push a button and return to the previous state of the application. How can i store the states of the widget so that i can create a back button.

2)I want detect the display language of the device. I found the following:

<embed type="application/x-systeminfo-widget" hidden="yes"></embed>
and
var lang = document.embeds[0].language.toString();

but this gives a warning in WDE, and when i used that code, a Nokia RDA device gave a system error.

So I want to know if there is another way to detect the display language,

Thanks,
Onur