all files / dist/config/ i18n.js

100% Statements 3/3
100% Branches 0/0
100% Functions 1/1
100% Lines 3/3
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43            18×                                                                    
'use strict';
 
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = {
 
  i18n: function i18n(api) {
    return {
      // ---------------------------------------------------------------------
      // Active locales
      // ---------------------------------------------------------------------
      locales: ['en'],
 
      // ---------------------------------------------------------------------
      // Fallbacks
      // ---------------------------------------------------------------------
      fallbacks: {
        // 'PT_pt': 'en'
      },
 
      // ---------------------------------------------------------------------
      // Update files
      // ---------------------------------------------------------------------
      updateFiles: true,
 
      // ---------------------------------------------------------------------
      // Configure logging and error messages in the log(s)
      // ---------------------------------------------------------------------
      defaultLocale: 'en',
 
      // ---------------------------------------------------------------------
      // Method used to determine the connection's locale.
      //
      // By default, every request will be in the 'en' locale
      // ---------------------------------------------------------------------
      determineConnectionLocale: 'api.i18n.determineConnectionLocale'
    };
  }
 
};
//# sourceMappingURL=i18n.js.map