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

Jose Manuel C G gis at mapas-sll.com
Wed Jan 9 05:54:21 EST 2008


Can you modify with tags like __#tooltip1#__ with this method? I'd translate
simply adding this tags to the \localize\en file.


Måns Beckman wrote:
> 
> 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
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: http://www.nabble.com/Translating-label-icons-at-main-toolbar-tp14694341s16610p14709408.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list