This repository has been archived by the owner on Jun 1, 2019. It is now read-only.
forked from pantsel/konga
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathi18n.js
51 lines (46 loc) · 2.58 KB
/
i18n.js
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
44
45
46
47
48
49
50
'use strict';
/**
* Internationalization / Localization Settings
* (sails.config.i18n)
*
* If your app will touch people from all over the world, i18n (or internationalization)
* may be an important part of your international strategy.
*
*
* For more informationom i18n in Sails, check out:
* http://sailsjs.org/#/documentation/concepts/Internationalization
*
* For a complete list of i18n options, see:
* https://github.com/mashpie/i18n-node#list-of-configuration-options
*/
module.exports.i18n = {
/***************************************************************************
* *
* Which locales are supported? *
* *
***************************************************************************/
locales: ['en'],
/****************************************************************************
* *
* What is the default locale for the site? Note that this setting will be *
* overridden for any request that sends an "Accept-Language" header (i.e. *
* most browsers), but it's still useful if you need to localize the *
* response for requests made by non-browser clients (e.g. cURL). *
* *
****************************************************************************/
defaultLocale: 'en',
/****************************************************************************
* *
* Automatically add new keys to locale (translation) files when they are *
* encountered during a request? *
* *
****************************************************************************/
updateFiles: false,
/****************************************************************************
* *
* Path (relative to app root) of directory to store locale (translation) *
* files in. *
* *
****************************************************************************/
localesDirectory: '/config/locales'
};