mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Implements language selection
This commit is contained in:
parent
4d69182c89
commit
7ed1e49888
13 changed files with 201 additions and 17 deletions
|
|
@ -7,10 +7,7 @@ dirs = ntop.getDirs()
|
|||
package.path = dirs.installdir .. "/scripts/lua/modules/?/init.lua;" .. package.path
|
||||
|
||||
require "lua_trace"
|
||||
|
||||
i18n = require "i18n"
|
||||
local locale = "en" -- FIX make it configurable
|
||||
i18n.loadFile(dirs.installdir..'/scripts/locales/'..locale..'.lua')
|
||||
locales_utils = require "locales_utils"
|
||||
|
||||
-- ##############################################
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue