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()
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?
On OS4, English names are used for the catalog drawers but on OS3 and MorphOS (not sure about AROS), locale.library expects translated drawer names, i.e. on OS4 you would have to use "german" and "french" whereas on OS3 and MorphOS the equivalent would be "deutsch" and "français" (mind the accent cedille). OS4 also might have some sort of compatibility layer which allows you to use the old-style names, but I'm not sure about that. Try it.