Update french translation for Fog 1.5.9
-
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?
-
@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 branchmaster
. -
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?
-
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…
-
@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
-
@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:
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:
So I don’t know if I’m already pushing my file or not?
But pages are much better!
Before :
After :
-
@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/c1cde2f1d0054d19566459e9bc7830519c186e61the 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? -
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/c1cde2f1d0054d19566459e9bc7830519c186e61This page is always in English in dev-branch :
-
My work is online (PR on GitHub) : https://github.com/FOGProject/fogproject/pull/431
-
@Bristow-0 Great work!! Thank you very much for updating all the translations.