Hi Raido On 16 Apr 2010, at 10:58, Raido Kuli wrote: > Hi. > > I've tried out some widgets with locales folder, like widget > "localetest". Once I got it displaying text in Fr, but that was it. So > how is localization supposed to work on Wookie and widgets ?? > I tried setting Firefox languages settings, that didn't to nohting. > Then I added "locale" parameter to widgetinstances request, didn't > help either. > > Can someone give me some hints ??
Setting the locale parameter is correct. However when widgets are processed, the only languages included are those in widgetserver.ptoperties: widget.locales = en,nl,fr To enable other locales to work you have to add them to the list. You can get an idea how it works from the FolderLocalizationTest class in src-tests. Note that I don't think subsequent requests for the *same* widget instance with a different locale parameter will do anything. > > -- > Raido
