https://luci.subsignal.org/trac/milestone/LuCI%200.10.0<https://luci.subsignal.org/trac/milestone/LuCI%200.10.0>states
proudly that Luci has a new i18n system.
Great, but all I see is it breaks my custom pages without any documentation
on what is different in this new i18n system and how code needs to be
changed.
Previously the code like:
local i18n = luci.i18n.translate
entry( { "admin", "chillifire", "white" },
cbi("chillifire_white"), i18n("chillifire_white", "Whitelist"),
20)
showed the correct text "Whitelist" even if no text was provided in the
language file.
In Luci 0.10 it just shows the anchor "chillifire_white". How has the code
to be changed so the fall back translation in the code file is shown again?
Please provide some documentation for this new i18n system. Thanks
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users