Adding Locale support
Posted: Thu Aug 13, 2015 9:00 am
Code:
Drawer Structure:
Does this seem correct to you? Not sure if I read documentation correctly.. are these language drawers named correctly? Do I really really need to mess about and make the drawer name's locale sensitive e.g 'francais', 'espanol', deutsch etc?
Code: Select all
DimStr locale[1]
Locale[1] ="Hello"
;; Catalog Handler
OpenCatalog("Application Name")
For Local c = 0 To 0
Locale[c] = GetCatalogString(c,Locale[c])
Next
CloseCatalog()
Code: Select all
Catalogs/
french/
Application Name.catalog
spanish/
Application Name.catalog