[Gambas-user] Linux Mint - Project Localization

David Sanromá dsanroma at gmail.com
Tue Nov 6 17:58:24 CET 2018


El 6/11/18 a las 17:46, Benoît Minisini escribió:
> Le 06/11/2018 à 17:29, David Sanromá a écrit :
>>
>> Hello again, I think I found something....
>>
>> For some reason:
>>
>> $ echo $LANGUAGE
>> es_ES:es                 <----- Strange format to me, but I don't 
>> know much about this Environment Variables.
>>
>>
>> $ echo $LANG
>>
>> es_ES.UTF-8          <---- Looks ok to me
>>
>> if I run:
>>
>> $ LANGUAGE=$LANG gambas3
>>
>>
>> The IDE comes up in Spanish just fine... ;)
>>
>>
>> Just FYI,
>>
>> David
>>
>>
>>
>
> OK, I see: the LANGUAGE environment variable is automatically fixed by 
> the interpreter, but only when the language is set explicitly (what 
> you done when writing "System.Language = System.Language").
>
> I will make the interpreter do the same fix at startup too.
>
> P.S. Please answer on the mailing-list.
>

Great news ... Given all this information, I modified the .desktop file 
with the Exec line

Exec=env LANGUAGE=es_ES.UTF-8 gambas3


and now the IDE comes up in Spanish.... which is fine by now...


Looking forward to the new version ;)


Thank you so much for your help,

David




More information about the User mailing list