Skip to content

Conversation

HvB
Copy link
Contributor

@HvB HvB commented Aug 28, 2025

After creating PR #15, I've discovered that a small subset of the TMDB API requests still need or request an ISO 639-1 (Aplha-2) language code value for the language parameter.

Examples of that are Movie::images and TV::images.

So, for those few requests, I now use just the 1st part of the Session::lang value, in order to give the TMDB API, the ISO 639-1 (Aplha-2) language code value they ask.

HvB added 2 commits August 28, 2025 19:07
In TMDB API, there are some requests which want or need `language` parameter
to be an ISO 639-1 (Aplha-2) language code (and not a language-Country).

In these requests, we use now the first part of the language parameter,
in order to have the needed ISO 639-1 (Aplha-2) language code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant