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

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -