From 27b835fa63fa68c426acd43a3328bed6943d7cc6 Mon Sep 17 00:00:00 2001 From: Serhii Londar Date: Mon, 16 Oct 2023 12:31:01 +0300 Subject: [PATCH] Update ManifestManager+LanguageResolver.swift (#232) Fix issue with downloading language dialects. --- .../ManifestManager/ManifestManager+LanguageResolver.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/CrowdinSDK/Providers/Crowdin/ManifestManager/ManifestManager+LanguageResolver.swift b/Sources/CrowdinSDK/Providers/Crowdin/ManifestManager/ManifestManager+LanguageResolver.swift index 1786ab1b..c6a4698e 100644 --- a/Sources/CrowdinSDK/Providers/Crowdin/ManifestManager/ManifestManager+LanguageResolver.swift +++ b/Sources/CrowdinSDK/Providers/Crowdin/ManifestManager/ManifestManager+LanguageResolver.swift @@ -37,6 +37,6 @@ extension ManifestManager: LanguageResolver { } func iOSLanguageCode(for crowdinLocalization: String) -> String? { - allLanguages.first(where: { $0.id == crowdinLocalization })?.osxLocale + allLanguages.first(where: { $0.id == crowdinLocalization })?.iOSLanguageCode } }