浏览代码

Add i18n file route for subfolder

nztqa 8 年之前
父节点
当前提交
7d4015e043
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      client/lib/i18n.js

+ 1 - 0
client/lib/i18n.js

@@ -3,6 +3,7 @@
 // information provided by the browser, and default to english.
 // information provided by the browser, and default to english.
 
 
 Meteor.startup(() => {
 Meteor.startup(() => {
+  TAPi18n.conf.i18n_files_route = Meteor._relativeToSiteRootUrl('/tap-i18n');
   Tracker.autorun(() => {
   Tracker.autorun(() => {
     const currentUser = Meteor.user();
     const currentUser = Meteor.user();
     let language;
     let language;