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

    Update french translation for Fog 1.5.9

    Scheduled Pinned Locked Moved
    General
    2
    11
    1.4k
    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.
    • B
      Bristow 0
      last edited by

      Hi !

      I would like to improve the French translation of FOG. So, I followed this tutorial (https://wiki.fogproject.org/wiki/index.php?title=How_to_translate_FOG) but it starts badly because the message.pot file (http://freeghost.svn.sourceforge.net/viewvc/freeghost/trunk/packages/web/management/languages/messages.pot) is not available.

      How should I proceed, is there a new translation solution?

      Thanks a lot !

      1 Reply Last reply Reply Quote 0
      • B
        Bristow 0
        last edited by

        Ok, i found message.po on GitHub : https://raw.githubusercontent.com/FOGProject/fogproject/dev-branch/packages/web/management/languages/fr_FR.UTF-8/LC_MESSAGES/messages.po

        Perhaps the wiki page mentioned above should be modified…

        If I modify the message.po file for the French language, how do I submit it for the future version?

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

          @Bristow-0 Best if you fork the fogproject repo on github in your account. There you can work on the translations and send in a pull request to be merged into the official project.

          Be aware that current work is done on the so called dev-branch. Please work on this instead of the default branch master.

          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

          B 1 Reply Last reply Reply Quote 0
          • B
            Bristow 0 @Sebastian Roth
            last edited by

            Thank you for your reply @sebastian-roth

            So I forked the project and started the translation, there is a lot of work!

            Is there an end date for this translation to arrive in the next version of FOG?

            1 Reply Last reply Reply Quote 0
            • B
              Bristow 0
              last edited by

              I have made good progress on the translation of FOG into French.

              There was a lot of work. Currently, I’m trying to translate directly in PoEdit but is there a solution to see my work in FOG, knowing that I installed FOG (dev-branch) on a VM…

              Thanks !

              PS : I should be able to push my file this week…

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

                @Bristow-0 Nice. Great to hear you have been working on this.

                To try out your updated file run the following commands to convert the PO-file to a MO-file:

                cp /path/of/updated/messages.po /var/www/html/fog/management/languages/fr_FR.UTF-8/LC_MESSAGES/
                msgfmt -o /var/www/html/fog/management/languages/fr_FR.UTF-8/LC_MESSAGES/messages.mo /var/www/html/fog/management/languages/fr_FR.UTF-8/LC_MESSAGES/messages.po
                

                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

                B 1 Reply Last reply Reply Quote 0
                • B
                  Bristow 0 @Sebastian Roth
                  last edited by

                  @sebastian-roth Thank you !

                  My file went through on my test server (dev-branch) but I noticed some problems:

                  • the home page is still in English whereas on the stable version, I was in French by default
                  • the menus on the sides are not translated or partially:

                  Sélection_790.png
                  Sélection_791.png

                  Sélection_794.png

                  For the first two, this corresponds to the channels that have %s in the English channel that I put back in the French channel

                  I also noticed many untranslated channels, for example Dashboard here:

                  Sélection_792.png

                  So I don’t know if I’m already pushing my file or not?

                  But pages are much better!

                  Before :
                  Sélection_788.png
                  After :
                  Sélection_793.png

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

                    @bristow-0 said in Update french translation for Fog 1.5.9:

                    the home page is still in English whereas on the stable version, I was in French by default

                    Which page do you mean when you say “home page”? I remember @Tom-Elliott worked on one part of the translation code. Maybe one of those commits changed the behaviour:
                    https://github.com/FOGProject/fogproject/commit/4e9c5a87ba3d938f06861c26cdd2f6e65ca1d812
                    https://github.com/FOGProject/fogproject/commit/63a59e870674e619dd39d836c447a606ad2d5b2f
                    https://github.com/FOGProject/fogproject/commit/c1cde2f1d0054d19566459e9bc7830519c186e61

                    the menus on the sides are not translated or partially

                    For some the translation might just be missing in the file. The partial translated ones might be still an issue in the code. @Tom-Elliott Do you think we need to use _($label) in getMainItems of fogsubmenu.class.php (and possibly other places?

                    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

                    B 1 Reply Last reply Reply Quote 0
                    • B
                      Bristow 0 @Sebastian Roth
                      last edited by

                      modules:composer.user_said_in, @sebastian-roth, Update french translation for Fog 1.5.9

                      the home page is still in English whereas on the stable version, I was in French by default

                      Which page do you mean when you say “home page”? I remember @Tom-Elliott worked on one part of the translation code. Maybe one of those commits changed the behaviour:
                      https://github.com/FOGProject/fogproject/commit/4e9c5a87ba3d938f06861c26cdd2f6e65ca1d812
                      https://github.com/FOGProject/fogproject/commit/63a59e870674e619dd39d836c447a606ad2d5b2f
                      https://github.com/FOGProject/fogproject/commit/c1cde2f1d0054d19566459e9bc7830519c186e61

                      This page is always in English in dev-branch :

                      Sélection_796.png

                      1 Reply Last reply Reply Quote 0
                      • B
                        Bristow 0
                        last edited by

                        My work is online (PR on GitHub) : https://github.com/FOGProject/fogproject/pull/431

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

                          @Bristow-0 Great work!! Thank you very much for updating all the translations.

                          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

                          188

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project