diff --git a/frappe/translate.py b/frappe/translate.py index d29485a586..dd1efb108d 100644 --- a/frappe/translate.py +++ b/frappe/translate.py @@ -210,6 +210,8 @@ def get_translation_dict_from_file(path, lang, app, throw=False) -> dict[str, st csv_content = read_csv_file(path) for item in csv_content: + item[0] = item[0].replace("\\n", "\n") + item[1] = item[1].replace("\\n", "\n") if len(item) == 3 and item[2]: key = item[0] + ":" + item[2] translation_map[key] = strip(item[1])