2
PUBLIC SUB Main() 'Select language from command line args. You need to install selected locales to work
3
'USAGE dfhLog.gambas -xx (where xx is your selected language)
9
es = User.Home & ("/.easyinstall/es")
10
ca = User.Home & ("/.easyinstall/ca")
11
en = User.Home & ("/.easyinstall/en")
13
IF Exist(es) THEN 'if no args, it shows in your default lang
15
System.Language = "es_ES.UTF-8"
19
IF Exist(ca) THEN 'if no args, it shows in your default lang
21
System.Language = "ca_ES.UTF-8"
25
IF Exist(en) THEN 'if no args, it shows in your default lang
27
System.Language = "en_GB.UTF-8"