Skip to content

Commit 49503fd

Browse files
committed
fix: [language] add be code
1 parent 4dbf441 commit 49503fd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bin/lib/Language.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
import os
55
import re
6-
import logging
76
import logging.config
87
import sys
98
import html2text
@@ -40,6 +39,7 @@
4039
'hye': 'Armenian',
4140
'aze': 'Azerbaijani',
4241
'eus': 'Basque',
42+
'bel': 'Belarusian',
4343
'ben': 'Bengali',
4444
'bos': 'Bosnian',
4545
'bul': 'Bulgarian',
@@ -157,6 +157,7 @@ def create_dict_iso_languages():
157157
'am': 'amh',
158158
'ar': 'ara',
159159
'az': 'aze',
160+
'be': 'bel',
160161
'bg': 'bul',
161162
'bg-Latn': 'bul', # gcld3 output
162163
'bn': 'ben',
@@ -737,6 +738,7 @@ def get_translation_languages():
737738
LIST_LANGUAGES = {}
738739
return LIST_LANGUAGES
739740

741+
740742
if __name__ == '__main__':
741743
t_content = ''
742744
ddetector = LanguagesDetector(nb_langs=1)

0 commit comments

Comments
 (0)