Changing NSError's localized description language

skarm

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?

Clafou

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.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Changing the PropertyGrid's Description and Category attributes at runtiome

From Java

Changing the language of "to" in Shiny's dateRangeInput

From Dev

Changing AjaxFileUpload control's language

From Dev

Retrieve localized language names by CultureInfo

From Dev

Automation of localized language web app

From Dev

Changing app's default language for a specific flavor

From Dev

How to convert the standard Noda Timezone Id's from English to Localized Language?

From Java

How to provide a localized description with an Error type in Swift?

From Dev

Android Firebase Invites app description not localized

From Dev

Category description not changing

From Dev

Changing the description of a shortcut?

From Dev

How can I get the [Error]: from NSError.description?

From Dev

How can I get the [Error]: from NSError.description?

From Dev

App store submission error on Language/Localized

From Dev

iOS Get localized version of a string for a specific language

From Dev

switching language app with the same localized button

From Dev

Add localized language app descriptions on app store

From Dev

Change git's language to English without changing the locale

From Dev

Change git's language to English without changing the locale

From Dev

Changing android application language

From Dev

Changing backend language of Mailchimp

From Dev

Changing language on the fly in swift

From Dev

Changing wordpress language

From Dev

Changing app language in runtime

From Dev

Changing google language

From Dev

Changing backend language of Mailchimp

From Dev

Language not changing in all activities

From Dev

JQuery DatePicker not changing language

From Dev

0 localized files seen in xcode for native development language

Related Related

  1. 1

    Changing the PropertyGrid's Description and Category attributes at runtiome

  2. 2

    Changing the language of "to" in Shiny's dateRangeInput

  3. 3

    Changing AjaxFileUpload control's language

  4. 4

    Retrieve localized language names by CultureInfo

  5. 5

    Automation of localized language web app

  6. 6

    Changing app's default language for a specific flavor

  7. 7

    How to convert the standard Noda Timezone Id's from English to Localized Language?

  8. 8

    How to provide a localized description with an Error type in Swift?

  9. 9

    Android Firebase Invites app description not localized

  10. 10

    Category description not changing

  11. 11

    Changing the description of a shortcut?

  12. 12

    How can I get the [Error]: from NSError.description?

  13. 13

    How can I get the [Error]: from NSError.description?

  14. 14

    App store submission error on Language/Localized

  15. 15

    iOS Get localized version of a string for a specific language

  16. 16

    switching language app with the same localized button

  17. 17

    Add localized language app descriptions on app store

  18. 18

    Change git's language to English without changing the locale

  19. 19

    Change git's language to English without changing the locale

  20. 20

    Changing android application language

  21. 21

    Changing backend language of Mailchimp

  22. 22

    Changing language on the fly in swift

  23. 23

    Changing wordpress language

  24. 24

    Changing app language in runtime

  25. 25

    Changing google language

  26. 26

    Changing backend language of Mailchimp

  27. 27

    Language not changing in all activities

  28. 28

    JQuery DatePicker not changing language

  29. 29

    0 localized files seen in xcode for native development language

HotTag

Archive