[mapguide-users] Localized Search, Quick Plot, and Print widgets

Berg, Leandros van den [FGSBV] L.vdBerg at fugro.nl
Mon Nov 21 10:30:18 EST 2011


Hi all,

For some reason, calling my FlexibleLayout with the parameter
'&locale=nl' does not localize the Search and Quick Plot widget. I found
there are quite some steps to get everything, well almost everything,
localized. First, I copied the files en and en.json to nl and nl.json
and translated all I needed. Second, I translated the labels and
tooltips of the widgets in the FlexibleLayout in MapGuide Maestro.
Finally, in the file nl, I translated the strings in sections Search,
SearchPrompt, and Quick Plot UI. Also, for the Print widget, to localize
the tooltips of the collapse/expand button and close button, I had to
translate some options for the Jx.Panel class in jxlib.uncompressed.js.

I suspect the problem is at this line in the .php files

  $templ = Localize($templ, $locale, GetClientOS());

Even hard coding $locale to "nl" doesn't work. Also, I can't find the
function Localize anywhere in the code.

Anybody an idea what might be the problem?

Kind regards

Leandros


More information about the mapguide-users mailing list