Navigation

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

    How to add a new language ?

    Development
    5
    7
    7240
    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.
    • tuzsuzdeli
      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/

      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.

            1 Reply Last reply Reply Quote 0
            • jimp
              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

              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

                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.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post

                  Products

                  • Platform Overview
                  • TNSR
                  • pfSense Plus
                  • Appliances

                  Services

                  • Training
                  • Professional Services

                  Support

                  • Subscription Plans
                  • Contact Support
                  • Product Lifecycle
                  • Documentation

                  News

                  • Media Coverage
                  • Press
                  • Events

                  Resources

                  • Blog
                  • FAQ
                  • Find a Partner
                  • Resource Library
                  • Security Information

                  Company

                  • About Us
                  • Careers
                  • Partners
                  • Contact Us
                  • Legal
                  Our Mission

                  We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

                  Subscribe to our Newsletter

                  Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

                  © 2021 Rubicon Communications, LLC | Privacy Policy