Update to support Ukrainian locale
This commit is contained in:
parent
dae4f1eed1
commit
a5e6b5dd3b
3 changed files with 2 additions and 1 deletions
2
app.js
2
app.js
|
@ -94,7 +94,7 @@ app.use(helmet.hsts({
|
||||||
}));
|
}));
|
||||||
|
|
||||||
i18n.configure({
|
i18n.configure({
|
||||||
locales: ['en', 'zh', 'fr', 'de', 'ja', 'es', 'el', 'pt', 'it', 'tr', 'ru', 'nl', 'hr', 'pl'],
|
locales: ['en', 'zh', 'fr', 'de', 'ja', 'es', 'el', 'pt', 'it', 'tr', 'ru', 'nl', 'hr', 'pl', 'uk'],
|
||||||
cookie: 'locale',
|
cookie: 'locale',
|
||||||
directory: __dirname + '/locales'
|
directory: __dirname + '/locales'
|
||||||
});
|
});
|
||||||
|
|
|
@ -160,6 +160,7 @@
|
||||||
<option value="nl">Nederlands</option>
|
<option value="nl">Nederlands</option>
|
||||||
<option value="hr">hrvatski jezik</option>
|
<option value="hr">hrvatski jezik</option>
|
||||||
<option value="pl">język polski</option>
|
<option value="pl">język polski</option>
|
||||||
|
<option value="uk">Українська</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue