This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Cleanest way to get current language on older firmwares?
#2
Use this:
Code:
lang = require('uci').get('genohm-scada.core.language')
log(lang)

lang will be nil when English is selected.
Reply


Messages In This Thread
RE: Cleanest way to get current language on older firmwares? - by admin - 06.06.2023, 11:46

Forum Jump: