Make sure to use language-COUNTRY codes for all languages (even the exceptions)
This commit is contained in:
parent
9709ef3a42
commit
6b54760699
|
@ -390,9 +390,9 @@ public class TMDbClient implements MovieIdentificationService, ArtworkProvider {
|
||||||
// but this function always returns the old code.
|
// but this function always returns the old code.
|
||||||
switch (language) {
|
switch (language) {
|
||||||
case "iw":
|
case "iw":
|
||||||
return "he"; // Hebrew
|
return "he-IL"; // Hebrew
|
||||||
case "in":
|
case "in":
|
||||||
return "id"; // Indonesian
|
return "id-ID"; // Indonesian
|
||||||
case "":
|
case "":
|
||||||
return null; // empty language code
|
return null; // empty language code
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue