From c8c07ea685a3ecf7f20a53373b1dcf25dc77766b Mon Sep 17 00:00:00 2001 From: "El-Shafei H." Date: Wed, 5 Nov 2025 20:26:56 +0300 Subject: [PATCH] fix: translate CSV (#33855) --- frappe/translate.py | 2 ++ 1 file changed, 2 insertions(+) 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])