I'm using NSError's property localizedDescription
to output AFNetworking requests errors. Regardless of the device selected language localizedDescription
is always on English.
Is it possible to get the localized
description on other languages supported by the device?
AFNetworking does not provide any localisations, you only get English. But there is nothing stopping you from getting the AFNetworking strings translated yourself into the languages that your app supports.
In the context of most apps, low-level error messages of this kind aren't user-friendly and it's a better idea to provide your own error message.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments