Re: [mapguide-users] Fusion: How do I define taskPaneTitle, legendTitle, etc?

2012-10-10 Thread David Wilhelmsson
Hi, I found the following post: http://osgeo-org.1560.n6.nabble.com/Localized-Search-Quick-Plot-and-Print-widgets-td4183118.html which points to fusion/text/[language code] being cached by the PHP server. I'm using IIS, so I've recycled the application pool to get the localization strings to be

Re: [mapguide-users] Fusion: How do I define taskPaneTitle, legendTitle, etc?

2012-10-02 Thread David Wilhelmsson
Hi, Having another look at the translations today, I've found the fusion/text/[language code] are now being correctly read, therefore the Measure widget is being translated correctly. My guess was that these values were being cached by MapGuide or IIS (I cleared the cache in the web browser, so it

Re: [mapguide-users] Fusion: How do I define taskPaneTitle, legendTitle, etc?

2012-09-26 Thread David Wilhelmsson
Hi, After following the above steps, here's some items that I've found that aren't being translated: 1. The BasemapSwitcher widget is reading the 'noCommercialMapLayers' string from fusion/text/[language code].json, however the strings for the commercial map layers are not coming from any languag

Re: [mapguide-users] Fusion: How do I define taskPaneTitle, legendTitle, etc?

2012-09-26 Thread David Wilhelmsson
Hi, After a little more investigation, I noticed that fusion/text/*.json and lib/OpenLayers/Lang/*.js were being compressed in lib/fusionSF-compressed.js. I manually added my new fusion/text/[language code].json and fusion/lib/OpenLayers/Lang/[language code].js to fusion/templates/mapguide/[theme

Re: [mapguide-users] Fusion: How do I define taskPaneTitle, legendTitle, etc?

2012-09-26 Thread Jackie Ng
It's the web tier and not the server tier that probably requires restarting. Another test is in a javascript console after the Fusion layout has loaded, test if Fusion.Strings.[language code], OpenLayers.Lang.[language code] are undefined. If either one is undefined, the string bundle is probably

Re: [mapguide-users] Fusion: How do I define taskPaneTitle, legendTitle, etc?

2012-09-26 Thread Zac Spitzer
the fusion localisation only kicks if the OL localisation works On Wed, Sep 26, 2012 at 4:56 PM, David Wilhelmsson wrote: > Hi, > > Unfortunately, I'm not having any success creating my own language strings. > Here's what I've done: > > 1. Copy fusion/text/en.json -> fusion/text/[language code].j

Re: [mapguide-users] Fusion: How do I define taskPaneTitle, legendTitle, etc?

2012-09-25 Thread David Wilhelmsson
Hi, Unfortunately, I'm not having any success creating my own language strings. Here's what I've done: 1. Copy fusion/text/en.json -> fusion/text/[language code].json 2. Edited fusion/text/[language code].json line 1 -> Fusion.Strings.[language code] = { 3. Translated the rest of fusion/text/[lan

Re: [mapguide-users] Fusion: How do I define taskPaneTitle, legendTitle, etc?

2012-09-25 Thread David Wilhelmsson
Hi Jackie, Thanks for the speedy reply and it's exactly what I was looking for. ps. Thanks for all your work with MapGuide! Kind regards, Dave. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Fusion-How-do-I-define-taskPaneTitle-legendTitle-etc-tp5004258p5004262.html Sen

Re: [mapguide-users] Fusion: How do I define taskPaneTitle, legendTitle, etc?

2012-09-25 Thread Jackie Ng
You need to provide a translation for the following string bundles: fusion/text/[your language code].json fusion/text/[your language code] fusion/lib/OpenLayers/Lang/[your language code].js Passing in locale=[your language code] as part of the fusion URL will instruct it to use these string bundl

[mapguide-users] Fusion: How do I define taskPaneTitle, legendTitle, etc?

2012-09-25 Thread david.wilhelms...@65nord.se
Hi, I have a multilingual website that dynamically (ASP.net) translates each web page according to a language selected. I currently use MaestroAPI SDK 4.0.1 to copy my MapGuide 2.2 application definition to a session and rewrite items such as labels, tooltips, legend labels and so forth before dis