This project maps Apple's locale codes to Google/Microsoft Translate.
[BRLocaleMap locale:@"pa"
forService:BRLocaleMapServiceGoogle]; // returns "ma"
[BRLocaleMap locale:@"fil"
forService:BRLocaleMapServiceGoogle]; // returns "tl"
[BRLocaleMap locale:@"zh_Hant_HK" // Automatically fallback to zh_Hant
forService:BRLocaleMapServiceMicrosoft]; // returns "zh-CHT"
[BRLocaleMap locale:@"gsw"
forService:BRLocaleMapServiceMicrosoft]; // returns "de"
Add this to your Podfile
pod 'BRLocaleMap'