Some errors in the French translation of Cacti 1.2.10
Moderators: Developers, Moderators
-
- Posts: 10
- Joined: Thu Mar 26, 2020 4:12 am
Some errors in the French translation of Cacti 1.2.10
Hi everyone,
Here are some French language translation errors that could be corrected in next release of cacti. Check picture comments to get the right translation.
Here are some French language translation errors that could be corrected in next release of cacti. Check picture comments to get the right translation.
- Attachments
-
- Sources de donnée -> Sources de données
- pict05.png (18.73 KiB) Viewed 650 times
-
- Source de donnée -> Source de données
- pict04.png (16.42 KiB) Viewed 650 times
-
- Métode d'entrée de donnée -> Méthode d'entrée de données
(2x mistakes) - pict03.png (19.51 KiB) Viewed 650 times
- Métode d'entrée de donnée -> Méthode d'entrée de données
-
- Sources de donnée -> Sources de données
- pict02.png (11.53 KiB) Viewed 650 times
-
- Nouveaux grahiques -> Nouveaux graphiques
- pict01.png (13.24 KiB) Viewed 650 times
Re: Some errors in the French translation of Cacti 1.2.10
That's fantastic. What you can do it edit the fr-FR.po file in the locales/po directory to correct the mistakes. Then once that file is fixed, run the script build_mo.sh. Then, lastly, create a pull request in GitHub and attach the modified po file. We need the help
Before history, there was a paradise, now dust.
-
- Posts: 10
- Joined: Thu Mar 26, 2020 4:12 am
Re: Some errors in the French translation of Cacti 1.2.10
Thanks Osiris. This is what I what looking for. I started to correct some errors here and there to make the sentences more understandable in French.
It works fine but I encountered some issues. First everytime I see a line with "#, fuzzy" then the translation does not apply and that is why there is a mix of French and English. The workaround I found for that is to replace "#, fuzzy" (or "#, fuzzy, php-format") by "#, php-format". Doing that the French translation is displayed on screen otherwise the English text is used. So all the lines with "#, fuzzy" are not translated.
Second issue I met is the text that is not defined and referenced to be translated. Here is one example (line 121 of "fr-FR.po"):
The translation in French is fine but the first line should be corrected since the text is used by host.php file in line 195 and also "#, fuzzy, php-format" should be replaced on the second line. So here is the correction:
But... it does not work; that is I still got the English text. I have no error during compilation.
Any Idea how to solve that problem?
It works fine but I encountered some issues. First everytime I see a line with "#, fuzzy" then the translation does not apply and that is why there is a mix of French and English. The workaround I found for that is to replace "#, fuzzy" (or "#, fuzzy, php-format") by "#, php-format". Doing that the French translation is displayed on screen otherwise the English text is used. So all the lines with "#, fuzzy" are not translated.
Second issue I met is the text that is not defined and referenced to be translated. Here is one example (line 121 of "fr-FR.po"):
Code: Select all
#: aggregate_graphs.php:84 graphs.php:197
#, fuzzy, php-format
msgid "Place on a Tree (%s)"
msgstr "Placer sur un arbre (%s)"
Code: Select all
#: aggregate_graphs.php:84 graphs.php:197 host.php:195
#, php-format
msgid "Place on a Tree (%s)"
msgstr "Placer sur un arbre (%s)"
Any Idea how to solve that problem?
- Attachments
-
- That option is visible in Manage/Device/Choose Action menu.
- pict01.png (72.73 KiB) Viewed 641 times
Re: Some errors in the French translation of Cacti 1.2.10
Once you have validated a string, then just remove the fuzzy line entirely. Fuzzy is a note the the translator (you) that the string has not been validated. Thanks for your help!!!
Before history, there was a paradise, now dust.
Re: Some errors in the French translation of Cacti 1.2.10
With the place on tree issue, simply update your host.php from the 1.2.x branch. Then it will work.
Before history, there was a paradise, now dust.
-
- Posts: 10
- Joined: Thu Mar 26, 2020 4:12 am
Re: Some errors in the French translation of Cacti 1.2.10
Thank you! It works now.
- Attachments
-
- pict08.png (7.06 KiB) Viewed 626 times
-
- Posts: 10
- Joined: Thu Mar 26, 2020 4:12 am
Re: Some errors in the French translation of Cacti 1.2.10
Here are some troubles found during my translation activity:
Issue 1:
I found texts that cannot be translated unless modifying the code. The strings are "Check all" and "Uncheck all" and are located in "Graphs" tab when we choose the Template selection.
They might be in:
cacti/include/js/jquery.multiselect.js:45: 'text': 'Uncheck all',
cacti/include/js/jquery.multiselect.js:46: 'title': 'Uncheck all',
-----------------------------------------------
Issue 2:
In Manage / Trees, in edit mode of a tree when we add a node right-clicking on a root node and then we select "Create" the name is still in English ("New node"). But it is applyed when we create the root node using the button above so the following translation is applyed.
-----------------------------------------------
Issue 3:
The text is in Manage / Site when we add a new site then edit the fields. If I edit this text without an apostrophe then I get the correct text (but the text is grammatically incorrect):
If I edit this text with the correct syntaxt the text is truncated:
Same problem with this text:
-----------------------------------------------
Issue 4:
Those texts are not displayed translated in Tree action drop menu. Removing msgctxt "dropdown action" is giveing the same result.
Issue 1:
I found texts that cannot be translated unless modifying the code. The strings are "Check all" and "Uncheck all" and are located in "Graphs" tab when we choose the Template selection.
They might be in:
cacti/include/js/jquery.multiselect.js:45: 'text': 'Uncheck all',
cacti/include/js/jquery.multiselect.js:46: 'title': 'Uncheck all',
-----------------------------------------------
Issue 2:
In Manage / Trees, in edit mode of a tree when we add a node right-clicking on a root node and then we select "Create" the name is still in English ("New node"). But it is applyed when we create the root node using the button above so the following translation is applyed.
Code: Select all
#: tree.php:914 tree.php:1219
msgid "New Node"
msgstr "Nouvelle branche"
Issue 3:
The text is in Manage / Site when we add a new site then edit the fields. If I edit this text without an apostrophe then I get the correct text (but the text is grammatically incorrect):
Code: Select all
#: sites.php:57
msgid "Enter the Site Address"
msgstr "Entrez l adresse du site"
Code: Select all
#: sites.php:57
msgid "Enter the Site Address"
msgstr "Entrez l'adresse du site"
Code: Select all
#: sites.php:66
msgid "Additional Site Address information"
msgstr "Informations complémentaires sur l'adresse du site"
Issue 4:
Those texts are not displayed translated in Tree action drop menu. Removing msgctxt "dropdown action" is giveing the same result.
Code: Select all
#: rrdcleaner.php:29 tree.php:31
msgctxt "dropdown action"
msgid "Delete"
msgstr "Supprimer"
#: tree.php:32
msgctxt "dropdown action"
msgid "Publish"
msgstr "Publier"
#: tree.php:33
msgctxt "dropdown action"
msgid "Un Publish"
msgstr "Un Publier"
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Some errors in the French translation of Cacti 1.2.10
Update the latest sites.php and lib/html_form.php and you will be further along. The multi-select text is going to be more difficult to fix.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
-
- Posts: 10
- Joined: Thu Mar 26, 2020 4:12 am
Re: Some errors in the French translation of Cacti 1.2.10
Issue 3 has been corrected with the new file. Thanks again.
Who is online
Users browsing this forum: No registered users and 1 guest