[GH-ISSUE #29] Support additional languages #19

Closed
opened 2026-02-27 22:07:35 +03:00 by kerem · 1 comment
Owner

Originally created by @kidmil on GitHub (Jun 7, 2020).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/29

hi
i use this ytmapi.
it's very good api.
but i have some problem about language.
it returns not korean music title or artist name but english music title or artist name.

can i get other langauge's music info not english?

ah.. i use get_history method.

Originally created by @kidmil on GitHub (Jun 7, 2020). Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/29 hi i use this ytmapi. it's very good api. but i have some problem about language. it returns not korean music title or artist name but english music title or artist name. can i get other langauge's music info not english? ah.. i use get_history method.
kerem 2026-02-27 22:07:35 +03:00
Author
Owner

@sigma67 commented on GitHub (Jun 8, 2020):

Hey, the language is currently fixed to English and specified in the library's context.json (hl variable).

Supporting multiple languages will require some significant testing, as some string parsing may break due to different encodings. For example, I tested get_playlist with hl='de' and it required adding unicodedata.normalize to the function. Feel free to experiment with different languages (i.e. korean) and let me know what you find.

<!-- gh-comment-id:640748344 --> @sigma67 commented on GitHub (Jun 8, 2020): Hey, the language is currently fixed to English and specified in the library's `context.json` (hl variable). Supporting multiple languages will require some significant testing, as some string parsing may break due to different encodings. For example, I tested get_playlist with hl='de' and it required adding `unicodedata.normalize` to the function. Feel free to experiment with different languages (i.e. korean) and let me know what you find.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ytmusicapi#19
No description provided.