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

    How to translate the keyword "System" in the system language pack

    Scheduled Pinned Locked Moved webGUI
    6 Posts 2 Posters 995 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.
    • V
      vanthoi
      last edited by

      Hi everyone.

      I am Vietnamese. I am working on translating the Pfsense language packs.
      All is very good, only the word "System" I can not switch back to Vietnamese.
      Because the word "System" contains 6 characters. If I translate more than 6 characters,
      Access 192.168.1.1/status_logs.php will break the interface.

      Is there a way to translate the word "System" to be longer than 6 characters?

      Thank you!

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned
        last edited by

        Please, file a bug about the GUI. I filed a bug about the GUI. This stupidity needs to go. Hitting it with packages as well (Suricata/Snort). This dropdown was designed for systems with many interfaces for firewall rules (so that you do not have a zillion of tabs with unreadable description), but it triggers on completely unwanted places.

        Note: The problem is not the word system or any other particular word. It's when a certain number of characters is reached on the tabs or something else combined, then the GUI switches to dropdown. So, for short term fix, if you can make the translation of any of the tab items appearing on that page shorter, it will avoid the issue. (The "Captive Portal Auth" appears to be a good candidate).

        1 Reply Last reply Reply Quote 0
        • V
          vanthoi
          last edited by

          The error was not caused by the number of out-of-frame tabs, due to the 6-letter convention for "System".
          You can try to translate any words as long as you do not exceed 6 characters.
          The other tabs I have translated in shorter words. But still not resolved the above error.
          Although you guarantee 100% of all other cards do not exceed the frame limit.
          But if the word "System" is longer than 6 characters, the style will break itself.

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned
            last edited by

            You do not understand. It is not about the word System. It is when you exceed the total characters limit for the tabs on the page, it switches to dropdown. It is just coincidence that you are hitting it with "system". Any other item there will cause this, when total limit is reached.

            Example: Replace "Captive Portal Auth" with "CP Auth" and you will no longer have the issue with "System".

            1 Reply Last reply Reply Quote 0
            • V
              vanthoi
              last edited by

              Ah…. Ok it worked.

              Error due to previous I did not clear the browser cache, so it still crashes when I briefly translate other tags.

              One time I thank you for reminding me!

              1 Reply Last reply Reply Quote 0
              • D
                doktornotor Banned
                last edited by

                Good. Just for illustration, you really can break this with anything; e.g. here I replaced the string "NTP" with "NTP Lets Break This" in /usr/local/www/status_logs_common.inc, resulting in:

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