From d0d1fe0a28c5dcd5ffe62c59fde634dda2b5f1cd Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Wed, 14 Jan 2009 23:47:56 +0000 Subject: Automatic language detection --- modules/admin-mini/luasrc/model/cbi/mini/luci.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/admin-mini') diff --git a/modules/admin-mini/luasrc/model/cbi/mini/luci.lua b/modules/admin-mini/luasrc/model/cbi/mini/luci.lua index 819a9b64d3..9eea8715ed 100644 --- a/modules/admin-mini/luasrc/model/cbi/mini/luci.lua +++ b/modules/admin-mini/luasrc/model/cbi/mini/luci.lua @@ -25,6 +25,7 @@ end c = m:section(NamedSection, "main", "core", translate("general")) l = c:option(ListValue, "lang", translate("language")) +l:value("auto") local i18ndir = luci.i18n.i18ndir .. "default." for k, v in pairs(luci.config.languages) do -- cgit v1.2.3