summaryrefslogtreecommitdiff
path: root/planner
diff options
context:
space:
mode:
Diffstat (limited to 'planner')
-rwxr-xr-xplanner/planner_generator.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/planner/planner_generator.py b/planner/planner_generator.py
index 633d83a..570c769 100755
--- a/planner/planner_generator.py
+++ b/planner/planner_generator.py
@@ -53,9 +53,10 @@ class Generator:
self.longitude = longitude
self.timezone = timezone
+ lang_name = locale.getlocale()[0].split("_")[0]
self.out_file = out_file or (
template or self.default_template
- ) + ".pdf"
+ ) + "-" + lang_name + ".pdf"
if not template:
template = self.default_template