vnpy/trader/gateway/ctpGateway/language/__init__.py

15 lines
290 B
Python
Raw Normal View History

2017-05-04 06:18:31 +00:00
# encoding: UTF-8
import json
import os
import traceback
print u'init {0}'.format(os.path.dirname(__file__))
# 默认设置
from chinese import text
2017-06-11 13:41:04 +00:00
# 是否要使用英文
from trader.vtGlobal import globalSetting
if globalSetting['language'] == 'english':
from english import text