• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

translate

Scheduled Pinned Locked Moved
General
3
9
892
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.
  • P
    pep
    last edited by Jul 22, 2021, 10:34 AM

    Hello

    I want to make the interface translation to a language different from the usual ones, namely Catalan. I have no problems with Poedit and the files I saw are in /fog/management/languages.

    The question is which files should be modified to get a new language to the post with my translation?

    thank you.

    T 1 Reply Last reply Jul 22, 2021, 12:31 PM Reply Quote 0
    • T
      Tom Elliott @pep
      last edited by Jul 22, 2021, 12:31 PM

      @pep The reason we use poedit is PHP is using gettext. So as long as catalan can generate binaries that php gettext can work with, you should be fine.

      As for what files should be modified? You will likely want to use one of the existing languages as a template, and convert as necessary for catalan.

      That being said, it’s unlikely we are going to incorporate catalan based files. This is because we generate the relevant binaries for language translation at install. This works because we are using a standard method of generating the files to be translated. The return of the translated files are also standard and our binaries can be built properly.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      P 1 Reply Last reply Jul 23, 2021, 5:50 AM Reply Quote 0
      • P
        pep @Tom Elliott
        last edited by Jul 23, 2021, 5:50 AM

        @tom-elliott No problem, I will modify one of the default languages to include Catalan. When I’m stable, I’ll move it internally to my organization as there are several areas that use it

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Jul 23, 2021, 6:57 AM

          @tom-elliott said in translate:

          That being said, it’s unlikely we are going to incorporate catalan based files. This is because we generate the relevant binaries for language translation at install.

          But why not translating the text language files and add that to FOG?

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          T 1 Reply Last reply Jul 23, 2021, 3:11 PM Reply Quote 0
          • T
            Tom Elliott @Sebastian Roth
            last edited by Jul 23, 2021, 3:11 PM

            @sebastian-roth I don’t understand.

            We use gettext for translation which, as far as I understand, uses po files for generating the translated binaries.

            So If catalan can generate the po so we can build the binaries it should work.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Jul 23, 2021, 8:13 PM

              @Tom-Elliott Nevermind. To me it sounded as if you’d say we won’t add Catalan language to FOG. I am sure you meant something different. You know English is not my native language! 🙂

              @pep You want to take this as a start: https://github.com/FOGProject/fogproject/blob/dev-branch/packages/web/management/languages/es_ES.UTF-8/LC_MESSAGES/messages.po

              Do all your translations to Catalan and let us know when you are done. Either send a pull request on github (note: using dev-branch not master branch!) or provide a copy of the new translation file another way.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              T P 2 Replies Last reply Jul 23, 2021, 10:21 PM Reply Quote 0
              • T
                Tom Elliott @Sebastian Roth
                last edited by Jul 23, 2021, 10:21 PM

                @sebastian-roth I was thinking Catalan was a type of translated like po. Not the language being translated into Catalan. Don’t mind my stupidity

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                1 Reply Last reply Reply Quote 0
                • P
                  pep @Sebastian Roth
                  last edited by Jul 27, 2021, 6:10 AM

                  @sebastian-roth I have a holiday this August, I’m going to make the translation and I’m going to try it out in my organization, we have several FOGs. When I see it well, we talk about it

                  ah, Congratulations to everyone on the project

                  1 Reply Last reply Reply Quote 1
                  • S
                    Sebastian Roth Moderator
                    last edited by Nov 4, 2021, 4:33 PM

                    @pep Any news on this?

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

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

                    183

                    Online

                    12.1k

                    Users

                    17.3k

                    Topics

                    155.3k

                    Posts
                    Copyright © 2012-2024 FOG Project