API errors are not localized
raysarebest opened this issue · comments
Line 17 of AlertableError.swift
calls error.description
instead of error.localizedDescription
. This causes the error shown to the user to always be in English, regardless of their localization. The solution to this would be to override localizedDescription
for all of the Error
types in the app, and have it return a different localized string based on what the error is. These strings will each need to be defined with their own key in their respective language's Localizable.strings
file