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

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


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 (
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

-----Ursprungligt meddelande-----
Från: mapguide-users-bounces at [mailto:mapguide-users-bounces at] För lmbap
Skickat: den 8 januari 2008 18:34
Till: mapguide-users at
Ä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
View this message in context:
Sent from the MapGuide Users mailing list archive at

mapguide-users mailing list
mapguide-users at

More information about the mapguide-users mailing list