Hello guys,
i have installed the frappe-bench and when i try to change the language, 'português brasileiro' is not listed, but is listed in languages.txt.
So i changed the code and for now this is solved for me. Here the modification, if this is usefull for you:
file: frappe-bench/apps/frappe/frappe/translate.py, line 81
Original:
def get_lang_dict():
return dict([[a[1], a[0]] for a in [a.split() for a in get_lang_info()]])
Modified:
def get_lang_dict():
return dict([[' '.join(a[1::]), a[0]] for a in [a.split() for a in get_lang_info()]])
Cheers,
Israel Cristiano Korndörfer