1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

Merge pull request #1640 from SiSchae/localization

Localization
This commit is contained in:
Junyoung Choi (Sai)
2018-03-17 11:13:52 +09:00
committed by GitHub
49 changed files with 2374 additions and 178 deletions

8
browser/lib/i18n.js Normal file
View File

@@ -0,0 +1,8 @@
// load package for localization
const i18n = new (require('i18n-2'))({
// setup some locales - other locales default to the first locale
locales: ['en', 'sq', 'zh-CN', 'zh-TW', 'da', 'fr', 'de', 'ja', 'ko', 'no', 'pl', 'pt', 'es'],
extension: '.json'
})
export default i18n