Re: [mapguide-users] spanish localization / localización español

Mike Adair madair at dmsolutions.ca
Wed Aug 12 09:36:57 EDT 2009


Make sure you include the new JSON file in a script tag maybe?
All translation files  under  /text will be included in the single file 
build created with the ant script but the standalone  fusion.js only 
includes the English strings by default.

Mike


Jose Cerrejon wrote:
> I've tried the next: translate the /fusion/text/en/string.json to spanish,
> make a new folder /text/es with the files .json and .php, translate the
> mapguide localized/en file...
>
> All with no success.
>
> What suppose I have to do?
>
>
> GreenMapSanMiguel wrote:
>   
>> Thanks for the examples of maps in spanish, I may be able to get some
>> terms from them.  
>>
>> I want to use the localization built into Fusion, which switches languages
>> based on a parameter in the URL.  For example, my URLs include
>> '?locale=es' when I want to use spanish.  
>>
>> The translation is done using a customized strings.json file.  There is
>> already one for french (at www/fusion/text/fr/strings.json) and I was
>> hoping to find somone who had already created one in spanish for MapGuide
>> that I could adapt to Fusion.  
>>
>> It looks like I'll probably be creating one myself which I'll share when
>> it is done.
>>
>> Andy
>> http://mapaverdesanmiguel.org/
>>
>>     
>
>   

-- 
   Michael Adair
   Senior Software Architect
   DM Solutions Group Inc.

   Office: (613) 565-5056 x26
   madair at dmsolutions.ca
   http://www.dmsolutions.ca
   http://research.dmsolutions.ca




More information about the mapguide-users mailing list