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

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -