Bug #4180
closedOpenVPN Backend for authentication field does not process in other languages
100%
Description
Forum: https://forum.pfsense.org/index.php?topic=86326.0
The code is using the text of the translated name to try and match what is selected already "Local Database" etc. And is also then trying to put the translated text back in the config as the value.
It should be using the translated text for display only, and the fixed key "Local Database"... is what is stored in the config...
Updated by Phillip Davis almost 10 years ago
Proposed fix: https://github.com/pfsense/pfsense/pull/1422
Updated by Renato Botelho almost 10 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Merged, thanks!
Updated by Chris Buechler almost 10 years ago
- Status changed from Feedback to Resolved
I can't easily test this, but the change looks good to me and Renato, and I trust Phil to get it right. If there are issues Phil, can re-open and/or add to this as needed.
Updated by Phillip Davis almost 10 years ago
I tested by have an OpenVPN server setup in English, then switch language to Turkish. The words for "Local Database" change to the Turkish. Press Save and confirm it saves without error, check in config.xml that the XML has the string "Local Database" in there still.
Add an OpenVPN server in Turkish - again confirm that the XML has the string "Local Database" in there.
Switch back to English, view the 2 servers and see that "LOcal Database" is displayed. Press save and again confirm that the XML has the string "Local Database" in there.
That confirms that all the change is to the GUI front-end display, and that the back-end will continue to always see the "key" values, that happen to be English strings.