Language Not Changing
-
Language selection hasn't been working for about a week. The config changes but everything remains in English.
-
If I put back the line removed in this commit: https://github.com/pfsense/pfsense/commit/2eb5a0bf9d69fbedc6d4e9c1b5665ce9e6396c2a
putenv("LANG={$lang}.{$encoding}");
then when I change language the General Setup screen is displayed initially in the newly-selected language.
Then when I navigate somewhere else the language goes back to English.
So something else is wrong in general - that commit is OK I guess, if the general problem is fixed then that specific putenv() should not be needed.But at least the gettext() translations must be there still, because it can translate at least 1page.
-
Think I saw something in guiconfig.inc dealing with language about a week ago.
-
https://github.com/pfsense/pfsense/commit/9ba351c17e4c85e01832e38b6ba7b6a7898a290d
I put that code back in guiconfig.inc but it did not magically start working again.
Renato made the change, so I guess he will know more quickly what is going on.