Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix language mappings from AniDB to TitleLanguage #1232

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Mik1ll
Copy link
Contributor

@Mik1ll Mik1ll commented Mar 6, 2025

  • Add missing language codes used by the AniDB HTTP Anime result
  • Fix some existing codes
  • Remove usages of Bangladeshi TitleLanguage, as it is a nationality and duplicates Bengali
  • Add comments to indicate unconventional AniDB codes
AniDB language mappings derived from testing
japanese					jp
japanese (transcription)	x-jat
english						en
chinese						zh
chinese (simplified)		zh-Hans
chinese (traditional)		zh-Hant
chinese (transcription)		x-zht
korean						ko
korean (transcription)		x-kot
afrikaans					af
albanian					al
arabic						ar
bengali						bd
bosnian						bs
bulgarian					bg
burmese						bur
croatian					hr
czech						cs
danish						da
dutch						nl
esperanto					eo
estonian					et
filipino					tl
filipino (tagalog)			tgl
finnish						fi
french						fr
georgian					ka
german						de
greek						el
greek (ancient)				grc
haitian creole				ht
hebrew						he
hindi						hi
hungarian					hu
icelandic					is
indonesian					id
italian						it
javanese					jv
latin						la
latvian						lv
lithuanian					lt
malay						my
mongolian					mn
nepali						ne
norwegian					no
persian						fa
polish						pl
portuguese					pt
portuguese (brazilian)		pt-BR
romanian					ro
russian						ru
serbian						sr
sinhala						si
slovak						sk
slovenian					sl
spanish						es
spanish (basque)			es-PV
spanish (catalan)			es-CA
spanish (galician)			es-GA
spanish (latin american)	es-419
swedish						sv
tamil						ta
tatar						tt
telugu						te
thai						th
thai (transcription)		x-tht
turkish						tr
ukrainian					uk
urdu						ur
vietnamese					vi
other						x-other

Copy link
Member

@revam revam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to add an AniDB parsing mode for for the title language? Since the helpers are used throughout the code base and not just for parsing the AniDB languages. (E.g. for media-info or TMDb.)

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.

2 participants