Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Install/activate custom language for webGUI

    Scheduled Pinned Locked Moved webGUI
    8 Posts 3 Posters 2.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ExordiumE
      Exordium
      last edited by

      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.

      - pfSense Gold Subscriber -

      Sense 1: Shuttle DS57U3 (private)
      Sense 2: Supermicro Atom Barebone (Company Test)
      Sense 3 : 2 x Supermicro SYS-5018D-FN8T (Company Office)

      1 Reply Last reply Reply Quote 0
      • S
        Steve_B Netgate
        last edited by

        /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;
        }
        

        Als ik kan

        1 Reply Last reply Reply Quote 0
        • ExordiumE
          Exordium
          last edited by

          Great! Works! (see attach) Now I can continue with the german translation.

          Thank you.

          pfSense-23_de.jpg_thumb
          pfSense-23_de.jpg

          - pfSense Gold Subscriber -

          Sense 1: Shuttle DS57U3 (private)
          Sense 2: Supermicro Atom Barebone (Company Test)
          Sense 3 : 2 x Supermicro SYS-5018D-FN8T (Company Office)

          1 Reply Last reply Reply Quote 0
          • H
            harika1258
            last edited by

            Hi everybody…
            How can I create Language pack  ( Pfsense.mo) for custom language?

            1 Reply Last reply Reply Quote 0
            • S
              Steve_B Netgate
              last edited by

              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?

              Als ik kan

              1 Reply Last reply Reply Quote 0
              • H
                harika1258
                last edited by

                Thank you so much  Steve….
                I want to translate to Azerbaijan language...

                1 Reply Last reply Reply Quote 0
                • H
                  harika1258
                  last edited by

                  Dear Steve…

                  How can I find Pfsense.po in English? (originally file) I'm using PoEdit

                  Thank you for replying.

                  1 Reply Last reply Reply Quote 0
                  • S
                    Steve_B Netgate
                    last edited by

                    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

                    Als ik kan

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.