File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -1108,10 +1108,14 @@ def create_glossary(
11081108 languages, containing the entries in dictionary. The glossary may be
11091109 used in the translate_text functions.
11101110
1111- Only certain language pairs are supported, currently the following:
1112- EN<->DE, EN<->FR, and EN<->ES. The available language pairs can be
1113- queried using get_glossary_languages(). A glossary with target language
1114- EN may be used to translate texts into both EN-US and EN-GB.
1111+ Only certain language pairs are supported. The available language pairs
1112+ can be queried using get_glossary_languages(). Glossaries are not
1113+ regional specific: a glossary with target language EN may be used to
1114+ translate texts into both EN-US and EN-GB.
1115+
1116+ This function requires the glossary entries to be provided as a
1117+ dictionary of source-target terms. To create a glossary from a CSV file
1118+ downloaded from the DeepL website, see create_glossary_from_csv().
11151119
11161120 :param name: user-defined name to attach to glossary.
11171121 :param source_lang: Language of source terms.
You can’t perform that action at this time.
0 commit comments