<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">


<META content="MSHTML 6.00.2800.1491" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><SPAN class=844491111-09012008><FONT face=Arial color=#0000ff size=2>You 
can do that in studio. You just have to duplicate your commands in the weblayout 
editor page and&nbsp;give them new names, new tooltips, etc.</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Mensagem original-----<BR><B>De:</B> 
  mapguide-users-bounces@lists.osgeo.org 
  [mailto:mapguide-users-bounces@lists.osgeo.org]<B>Em nome de </B>Kenneth, 
  GEOGRAF A/S<BR><B>Enviada:</B> quarta-feira, 9 de Janeiro de 2008 
  11:08<BR><B>Para:</B> MapGuide Users Mail List<BR><B>Assunto:</B> Re: 
  [mapguide-users] SV: Translating label icons at main 
  toolbar<BR><BR></FONT></DIV>I don't think you can, because the translation 
  mechanism does not read the WebLayout.<BR>In fact, you have to create a copy 
  of each weblayout for each language you want to support.<BR><BR>The procedure 
  that Måns mentions is another way of editing the Xml in the 
  WebLayout.<BR><BR>You can create an application that translates any 
  "__#....#__" values inside a weblayout and saves it with the locale 
  suffixed.<BR>That application can then be executed agains all weblayouts on 
  the server.<BR>You will still have to manually direct the user to the 
  localized version of the weblayout though.<BR><BR><PRE class=moz-signature cols="72">Regards, Kenneth, GEOGRAF A/S
</PRE><BR><BR>Jose Manuel C G skrev: 
  <BLOCKQUOTE cite=mid:14709408.post@talk.nabble.com type="cite"><PRE wrap="">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:
  </PRE>
    <BLOCKQUOTE type="cite"><PRE wrap="">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 &lt;TaskPane&gt; tags (around line 207) name and tooltip
can be translated
Translate text within &lt;CommandSet&gt; 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: <A class=moz-txt-link-abbreviated href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</A>
[<A class=moz-txt-link-freetext href="mailto:mapguide-users-bounces@lists.osgeo.org">mailto:mapguide-users-bounces@lists.osgeo.org</A>] För lmbap
Skickat: den 8 januari 2008 18:34
Till: <A class=moz-txt-link-abbreviated href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</A>
Ä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:
<A class=moz-txt-link-freetext href="http://www.nabble.com/Translating-label-icons-at-main-toolbar-tp14694341s16610p14694341.html">http://www.nabble.com/Translating-label-icons-at-main-toolbar-tp14694341s16610p14694341.html</A>
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
<A class=moz-txt-link-abbreviated href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</A>
<A class=moz-txt-link-freetext href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</A>
_______________________________________________
mapguide-users mailing list
<A class=moz-txt-link-abbreviated href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</A>
<A class=moz-txt-link-freetext href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</A>


    </PRE></BLOCKQUOTE><PRE wrap=""><!---->
  </PRE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>