SV: [mapguide-users] Translating label icons at main toolbar

Måns Beckman mans.beckman at manandmachine.se
Wed Jan 9 03:56:31 EST 2008


Hi, 

There is an way to translate the built in commands, but it is kind of tricky. Here is how to do it.

Create a new directory in MGS and create a new weblayout in that directory
Go to MapGuide Administator and export your new directory as a package (for example swedish.mgp)
MGP files is actually ZIP files so change the filetype of your file (swedish.zip)
Unzip the contents of your ZIP file

Open the file weblayout.WebLayout_CONTENT.xml in Notepad
Translate text within <TaskPane> tags (around line 207) name and tooltip can be translated
Translate text within <CommandSet> tags (around line 267) label, tooltip and description can be translated

Compress your ZIP archive again
Change the extension to MGP
Import your package through MapGuide Administrator
Open MGS and enjoy your localized commands!

Best regards
Måns


-----Ursprungligt meddelande-----
Från: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] För lmbap
Skickat: den 8 januari 2008 18:34
Till: mapguide-users at lists.osgeo.org
Ämne: [mapguide-users] Translating label icons at main toolbar


Hi all,

I'm translating the labels and the menus from english to other languages and
I can't find the place where to change the label texts of the built-in
commands in the main toolbar, context menu and Task Bar Menu.
I'm doing this for MGE2008 and for Open Source.
Anyone knows where to change this?
Thanks in advance
LB
-- 
View this message in context: http://www.nabble.com/Translating-label-icons-at-main-toolbar-tp14694341s16610p14694341.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list