I don’t know if my approach to this is fundamentally wrong, but I'm struggling to solve the problem of (seemingly trivial!) Localization.
I want to display the name "System" UITabBarItem (More, Favorites, Recommended, etc.) in the navigation bar. But where to get the string? The MainWindow.nib line file does not contain a line (I did not expect this), and reading the TabBarItem header returns nil, which made me sick.
I was told that there is no way to achieve this, and I just have to add my own localized string for the conditions in question. But I just don’t want (want) to believe it !! This may be quite simple in some languages, but looking up, say, “More”, already gives me a few words in several languages. I am not happy with just sending these words for translation, because it still depends on the translator who knows exactly which term Apple uses. So did I miss something simple here? What are other people doing?
Obviously, installing the system language on my test device and just looking at which headers have tabs is another “obvious” option. But I really have a problem with half-fried workarounds. It will work in most languages, but I will really have fun when it comes to Russian or Japanese.
I am convinced that there must be a more reliable way to do this. Surely there should be a .strings file somewhere in the SDK that defined these lines?
Thanks in advance ... Rich
Rich
source share