web services - Localization and how to handle web content on an iOS app -


let's if have content coming web service that's in english (en-us). now, go localization what's best way localize content?

i kind leaning towards having web service spit out localized content wouldn't ideal on hindsight.

anyone knows what's best way these contents localized , out ios app?

get current locale:

nsstring * language = [[nslocale preferredlanguages] objectatindex:0]; 

when loading web content, pass locale identifier request. on server side generate localized response based on identifier.


Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -