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

    How to add a new language ?

    Scheduled Pinned Locked Moved Development
    7 Posts 5 Posters 7.6k 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.
    • tuzsuzdeliT
      tuzsuzdeli
      last edited by

      We almost finished the Turkish translation project on the pootle server.
      How can we add to the 2.1 snapshots for testing ?

      Here is the link
      http://pootle.pfsense.org.br/tr/pfSense/pfSense.po/download/

      Çözümün bir parçası değilsen, sorunun bir parçasısındır.

      1 Reply Last reply Reply Quote 0
      • S
        Sergtour
        last edited by

        I interested for this question too … ???

        1 Reply Last reply Reply Quote 0
        • K
          Klaws
          last edited by

          I assume that it should be added to the master branch, as 2.1 is closed for new features and only bug fixes will be accepted.

          1 Reply Last reply Reply Quote 0
          • D
            dvserg
            last edited by

            For 2.1 probably possible create language manager as package for updating MO files from GUI.

            SquidGuardDoc EN  RU Tutorial
            Localization ru_PFSense

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              The problem with that is some pages have the encoding hardcoded in them and while it would work with some languages, it would break with others like Turkish.

              See the notes on http://redmine.pfsense.org/issues/2989

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • D
                dvserg
                last edited by

                OK.
                I am confident that the problem will be solved in future versions.

                Therefore, I suggest the following approach.
                The list of installed languages ​​and code pages will taken from a single file, instead of :

                function get_locale_list() {
                $locales = array(
                "en_US" => gettext("English"),
                "pt_BR" => gettext("Portuguese (Brazil)"),
                "tr_TR" => gettext("Turkish"),
                

                This file is managed by a separate package. This also will have update and downloading MO files. So it is possible to change the package code without changing the core code pfSense

                I allowed myself to quickly make an example of such a package:
                http://forum.pfsense.org/index.php/topic,64725.0.html

                SquidGuardDoc EN  RU Tutorial
                Localization ru_PFSense

                1 Reply Last reply Reply Quote 0
                • D
                  dvserg
                  last edited by

                  The same remark from my own experience of translation - some of the buttons in forms at their translation into another language no longer work. Therefore, in its version of the name translation, I left the fields and buttons in English - and all had to work as it should.

                  And I think 100% Gui translation is not needed, because you might lose the meaning of the names of the terms that will worsen the understanding of the end user.

                  But it is my opinion only.

                  SquidGuardDoc EN  RU Tutorial
                  Localization ru_PFSense

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