Localization data bind into app resource loaded incorrectly
|Reported by:||siarzhuk||Owned by:||pulkomandy|
|Has a Patch:||no||Platform:||All|
The problem observed with KeymapSwitcher 22.214.171.124 (build 15 Nov 2012) available at the following link:
In this version we decided to switch using localization catalogs in the application resources. As result on clean system with default English locale we observe that Finnish locale was loaded for Settings dialog and replicant context menu. That is wrong - English locale data should be used instead of Finnish. We have checked resources of this application with ResEdit and found that all catalogs are stored in it but English catalog is absent. We have also checked make file and it looks like English data were requested to bind as all other:
/Sources/keymapswitcher> make -f app.makefile bindcatalogs for lc in be bg cs de en fi ro ru sv uk; \ do linkcatkeys -o objects.x86-gcc4-release/KeymapSwitcher \ -s x-vnd.Nexus-KeymapSwitcher -tr -l $lc locales/$lc.catkeys; \ done
I think it is a kind of space optimization avoiding English catalog in the app resources. But it unfortunately fails to work correctly. :-(
But non-English localizations are loaded perfectly for system locales that have corresponding catalogs in resources: Belarusian, Russian, Ukrainian, German etc.
Note that adding separate catalog files to /boot/common/data/locale/catalogs/<mime name>/ workarounds this issue completely - all is displayed in English.