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

    translate

    General
    3
    9
    231
    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

      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.

      Tom Elliott 1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator last edited by

        @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
        • P
          pep @Sebastian Roth last edited by

          @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
          • Tom Elliott
            Tom Elliott @Sebastian Roth last edited by

            @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
            • S
              Sebastian Roth Moderator last edited by

              @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

              Tom Elliott P 2 Replies Last reply Reply Quote 0
              • Tom Elliott
                Tom Elliott @Sebastian Roth last edited by

                @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

                  @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

                  Tom Elliott 1 Reply Last reply Reply Quote 0
                  • P
                    pep @Tom Elliott last edited by

                    @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
                    • Tom Elliott
                      Tom Elliott @pep last edited by

                      @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 Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post

                      190
                      Online

                      10.4k
                      Users

                      16.4k
                      Topics

                      150.5k
                      Posts

                      Copyright © 2012-2023 FOG Project