MorphOS Developer
Posts: 1520 from 2003/2/24
From: Finland
Quote:
igracki wrote:
Hi,
I tried to localize my yWeather sbar, but I encountered a problem, the catalog is only read if it is in PROGDIR:catalogs/, but it should try to load from LOCALE:catalogs/ if there is no PROGDIR:catalogs/, right?
That what old locale autodocs says.
It should. Maybe you are using wrong version number? Version number must be an exact match unless versio 0 is requested.
Locale.library is trying to find catalog in following order:
1) PROGDIR:Catalogs
2) MOSSYS:Locale/Catalogs
3) LOCALE:Catalogs
1 + 1 = 3 with very large values of 1