iphone: accessing the preferences localization file from code

Posted by phonecoddy on Stack Overflow See other posts from Stack Overflow or by phonecoddy
Published on 2010-06-12T11:28:17Z Indexed on 2010/06/12 11:32 UTC
Read the original article Hit count: 277

Filed under:
|
|

I was just facing the following problem and couldn't find a solution for it. Hopefully someone could help.

The app I am working on has some preferences, which are using a localization file. Now I want to use labels in my app, which display the exact names, which are used in the localization file for the preferences. But I couldn't find a way to access the information which is stored in Settings.bundle - en.lproj - localizationfile.strings. to make this clear: If you open your preferences for your app, the display shows the localized string of the title and the value of the setting. I need to access the localized string of the title of each preference from my code. Does any know how to do this?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about localization