Make sure to use language-COUNTRY codes for all languages (even the exceptions)

This commit is contained in:
Reinhard Pointner 2017-11-08 11:06:19 +01:00
parent 9709ef3a42
commit 6b54760699
1 changed files with 2 additions and 2 deletions

View File

@ -390,9 +390,9 @@ public class TMDbClient implements MovieIdentificationService, ArtworkProvider {
// but this function always returns the old code.
switch (language) {
case "iw":
return "he"; // Hebrew
return "he-IL"; // Hebrew
case "in":
return "id"; // Indonesian
return "id-ID"; // Indonesian
case "":
return null; // empty language code
}