ios - How to get localized CFBundleDisplayName with Xamarin -
i created application xamarin studio ios. application name (cfbundledisplayname) needs change according language of device. found lot of documentation on how xcode nothing xamarin studio. help!
add infoplist.strings file within each .lproj directory. within each language-specific infoplist.strings file, add following line , replace localized value translated title:
"cfbundledisplayname" = "localized value"; this ensure app label display translated string on home screen.
if wish access value in code, can retrieve this:
var title = nsbundle.mainbundle.objectforinfodictionary("cfbundledisplayname"); apptitlelabel.text = title.tostring();
Comments
Post a Comment