Skip to content

Commit

Permalink
#40 Use language tag instead of iso code (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnlentink authored Dec 29, 2024
1 parent d8ba809 commit b997e2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bible_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def gen_name(lang_version):
name = lang_version["name"]
return local_name if local_name == name else f"{local_name} ({name})"

prompt_options = {gen_name(x): x["iso_639_3"] for x in lang_versions }
prompt_options = {gen_name(x): x["language_tag"] for x in lang_versions }

print("Choose the language you want to retrieve")
while True:
Expand Down

0 comments on commit b997e2d

Please sign in to comment.