Skip to content

Commit

Permalink
Fix Chinese
Browse files Browse the repository at this point in the history
  • Loading branch information
Vuizur committed Feb 24, 2023
1 parent 15d4d1e commit 2d2fc65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tatoeba_to_anki/ankideckcreator.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ def __init__(
# using pycountry
if self.source_language == "Filipino":
self.source_language_code = "tgl" # This is what Tatoeba uses
elif self.source_language == "Chinese":
self.source_language_code = "cmn" # This is what Tatoeba uses
else:
self.source_language_code = pycountry.languages.get(
name=self.source_language
Expand Down

0 comments on commit 2d2fc65

Please sign in to comment.