Translation for new feature
-
I am interested in contributing a feature I've added in my local pfSense git repo. This feature requires adding some text to the web UI. I have done so using gettext() calls, but I don't know the translations for the various supported languages. Thus, I haven't added anything to the various locale files. How are these translations normally handled?
Thanks.
-
IIRC if you add it here, someone will eventually pick it up and translate.
https://github.com/pfsense/pfsense/tree/master/usr/local/share/locale/en/LC_MESSAGES
(If you want it working locally, you need to regen the .mo files, read gettext docs.)
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.