Преглед изворни кода

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.
 
 Meteor.startup(() => {
+  TAPi18n.conf.i18n_files_route = Meteor._relativeToSiteRootUrl('/tap-i18n');
   Tracker.autorun(() => {
     const currentUser = Meteor.user();
     let language;