[mapguide-users] Localization

Kenneth, GEOGRAF A/S ks at geograf.dk
Wed Jul 25 04:05:32 EDT 2007


There is a folder called "localized" in the webextensions folder.
You can make a copy of the file named "en", and call it "cr".
When you have translated the "cr" file, you give the localization code "cr",
each time you create a session, and it will automatically translate it 
for you.
Beware that the files MUST be saved with UTF-8 encoding,
or you will lose any non-us characters.

You might translate the entire documentation as well.

If you wish to do so, there is also a similar file in the "server" folder,
that will allow you to localize all the server messages (mostly error 
messages).

If you do translate the files, you can try to get them included in the 
MapGuide OS,
so that others may benefit from it.

The last part of the localization is buttons and menus.
Those may be renamed in the weblayout in Studio.
Currently there is no functionality to translate the layout based on locale,
so you must manually create different layouts for different locales.

Regards, Kenneth, GEOGRAF A/S



Ivan Milicevic skrev:
>
> Hi,
>
>  
>
> how can I localize mapguide viewer?
>
>  
>
>  
>
> */Ivan Milic(evic'
> /*/voditelj Odjela za dokumentiranje
> i projektiranje/*//*
>
> */ /*
>
> */SUPRA NET d.o.o.
> /*/Erlichova 2, 10000 Zagreb
> CROATIA
>
> Mobile: +385 (0)91 2352-320
> Fax: +385 (0)1 6678-728
> Email: ivan.milicevic at supranet.hr <mailto:ivan.milicevic at supranet.hr>
> URL: www.supranet.hr <http://www.supranet.hr/>/
>
>  
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20070725/e94e822d/attachment.html


More information about the mapguide-users mailing list