We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb23ad2 commit e39dfc8Copy full SHA for e39dfc8
1 file changed
translator/__init__.py
@@ -1,8 +1,9 @@
1
import json
2
+import os
3
4
from nut import Config, Print
5
-DEFAULT_TRANSLATION_FILE = 'public_html/translate.json'
6
+DEFAULT_TRANSLATION_FILE = os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)), '../public_html/translate.json'))
7
ENGLISH_LANG_ID = "None"
8
9
_initialized = False
0 commit comments