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
Post a Comment