diff --git a/Passepartout/Sources/Utils.swift b/Passepartout/Sources/Utils.swift index 5b4b11cd..f964e688 100644 --- a/Passepartout/Sources/Utils.swift +++ b/Passepartout/Sources/Utils.swift @@ -138,7 +138,7 @@ public class Utils { } public static func localizedLanguage(_ code: String) -> String { - return Locale.current.localizedString(forLanguageCode: code) ?? code + return Locale.current.localizedString(forLanguageCode: code)?.capitalized ?? code } private init() {