[Gambas-user] List al the classes and symbols

Benoit Minisini benoit.minisini at gambas-basic.org
Tue Jun 28 16:08:24 CEST 2022

Le 28/06/2022 à 16:01, Bruce Steers a écrit :
> that way of translation is exactly the same as a .desktop file. See 
> https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.1.html 
> <https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.1.html>
> You can use System.Language to find the current locale and use the 
> relevant Name[] field for the user.
> PS, check for the string having a _ like my system.Language returns 
> en_GB.UTF-8 so i would use Split(System.Language, "_")[0] to separate 
> the language from the country and char set data giving me just "en" then 
> check for a Name[en] field.
> BruceS

These translations are not used anymore, and should be removed from all 
'*.component' files.


Benoît Minisini.

More information about the User mailing list