Gadget localization

Hello Dears,

We have developed a gadget for our project to initialize a business process instance. Since we are working in the middle east region, the localization(Arabic) of the gadget is mandatory over here. Can any one help me by putting a sample code for achieving this?

Any help would be much appreciated.

Thanks and Regards,
Anish

You can refer to sample gadget,
sample gadget name “Localization”

samples are located at,
SoftwareAGHOMEInstallDir\MWS\components\samples\businessconsole\gadgets

Dear Yashwanth,

Thanks for the reply,

Can you advice me the way to get the logged in user locale or language preference in a gadget javascript file?
Is there any built-in object form which we can get this information ?

Thanks and Regards,
Anish