Install/activate custom language for webGUI
-
Hi.
I had created a custom language (german) pfSense.mo/pfSense.po file for german (de) translation and copied them into /usr/local/share/locale/de/LC_MESSAGES/
How do I add "German" in pfSense's webGUI localization/language selector? I can only switch between english, portuguese and turkiye. -
/etc/inc/pfsense-utils.inc, line 2967:
function get_locale_list() { $locales = array( "en_US" => gettext("English"), "pt_BR" => gettext("Portuguese (Brazil)"), "tr" => gettext("Turkish"), ); asort($locales); return $locales; }
-
Great! Works! (see attach) Now I can continue with the german translation.
Thank you.
-
Hi everybody…
How can I create Language pack ( Pfsense.mo) for custom language? -
Use a tool such as https://poedit.net or http://zanata.org.
You can then copy the .po file to you firewall, or submit it to the pfSense team for inclusion in the project.
Which language do you want to use?
-
Thank you so much Steve….
I want to translate to Azerbaijan language... -
Dear Steve…
How can I find Pfsense.po in English? (originally file) I'm using PoEdit
Thank you for replying.
-
The pfSense community has been using Zanata to translate text strings and Azerbaijani is already set up as one of the translations. This would be by far the best way to translate and you might even win something.
https://www.netgate.com/blog/pfsense-software-translations-with-zanata.html
If you really want to translate in a private environment, however, you can use the .po file here: /usr/local/share/locale/en_US/LC_MESSAGES/pfSense.po