darktable-org / dtdocs

darktable user manual
GNU General Public License v3.0
74 stars 74 forks source link

issues when translating in French #247

Closed lebmich closed 2 years ago

lebmich commented 3 years ago

Some messages that appear to be translated on Weblate website are not translated in my local site http://localhost:1313/dtdocs/fr-fr/ For example: 2021_04_02_weblate_01 Why ? Best regards.

lebmich commented 3 years ago

I get this on my local site 2021_04_02_weblate_02

paperdigits commented 3 years ago

Hi, its hard to say why, since you've provided no details about what you have done.

On April 1, 2021 11:47:25 PM PDT, Michel Leblond @.***> wrote:

I get this on my local site 2021_04_02_weblate_02

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/darktable-org/dtdocs/issues/247#issuecomment-812354688

lebmich commented 3 years ago

You can see what I have done to translate in issue #248

lebmich commented 3 years ago

This message appears to have been translated in Weblate website: 2021_04_04_weblate_01 However when I import this file from the Weblate site and edit it in emacs it appears as fuzzy. When I remove this flag the message is translated into my html version of the manual. I think that the character between range and mainly in "high dynamic range images mainly for data" causes the issue. I don't know what this character is and how to get it with my keyboard. Many messages like this one lead to the same issue.

paperdigits commented 3 years ago

It looks like a double space to me. Probably a typo that should be removed from the English.

On April 4, 2021 12:59:01 AM PDT, Michel Leblond @.***> wrote:

This message appears to have been translated in Weblate website: 2021_04_04_weblate_01 However when I import this file from the Weblate site and edit it in emacs it appears as fuzzy. When I remove this flag the message is translated into my html version of the manual. I think that the character between range and mainly in "high dynamic range images mainly for data" causes the issue. I don't know what this character is and how to get it with my keyboard. Many messages like this one lead to the same issue.

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/darktable-org/dtdocs/issues/247#issuecomment-812991645

elstoc commented 3 years ago

I believe it's a hyphen. Let me try to change it and see what happens.

Edit: I've tried to fix it in master - please can you retry.

paperdigits commented 3 years ago

@elstoc, you will need to regenerate the pot file as well.

On April 4, 2021 7:29:45 AM PDT, Chris Elston @.***> wrote:

I believe it's a hyphen. Let me try to change it and see what happens

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/darktable-org/dtdocs/issues/247#issuecomment-813042923

lebmich commented 3 years ago

In the file content.fr-fr.po from the Weblate website I now find:

. type: Plain text

: content/overview/supported-file-formats.md

, fuzzy, no-wrap

| msgid " ...high dynamic range images mainly for data exchange between darktable and other software.\n"

msgid "...high dynamic range images -- mainly for data exchange between darktable and other software.\n" msgstr "...grande plage dynamique -- principalement pour des échanges de données avec d’autres logiciels.\n"

In the file content.po I now find:

. type: Plain text

: content/overview/supported-file-formats.md

, markdown-text, no-wrap

msgid "... dynamic range images -- mainly for data exchange between darktable and other software.\n" msgstr ""

The message is still not translated.

lebmich commented 3 years ago

In the Weblate web we still have: 2021_04_05_weblate_01 with the hyphen unchanged in the English message.

In the file supported-file-formats.md we have this message: <<darktable supports a huge number of file formats from various camera manufacturers. In addition darktable can read specific low dynamic range and high dynamic range images -- mainly for data exchange between darktable and other software.>> with the hyphen changed.

This message is always untranslated.

lebmich commented 3 years ago

We also have several other inconsistencies. For example:

In Weblate website

You can give an image a rating from zero to five stars. The quality criteria which lead to a rating are up to you. Whenever you import images, each image receives a default rating which you can define in preferences > import. You can also mark an image as rejected.

In the file star-color.md

You can give an image a rating from zero to five stars. The quality criteria which lead to a rating are up to you. Whenever you import images, each image receives a default rating which you can define in preferences > import. You can also mark an image as “rejected”.

and this message is untranslated.

lebmich commented 3 years ago

Here is another inconsistencies: In file content.pot we find: msgid "... This includes modifications to color labels, ratings, geo-localization, tags, metadata, orientation, copy/paste of history, image duplication, or application of a style...."

In Weblate website we find:

This includes modifications to color labels, ratings, geo-localization, tags, metadata, orientation, copy/paste of history, or application of a style. without image duplication

and the corresponding message is not translated.

paperdigits commented 3 years ago

Yes there have been several changes, the POT file needs to be regenerated. I'm working on automating that.

On April 5, 2021 7:06:58 AM PDT, Michel Leblond @.***> wrote:

Here is another inconsistencies: In file content.pot we find: msgid "... This includes modifications to color labels, ratings, geo-localization, tags, metadata, orientation, copy/paste of history, image duplication, or application of a style...."

In Weblate website we find:

This includes modifications to color labels, ratings, geo-localization, tags, metadata, orientation, copy/paste of history, or application of a style. without image duplication

and the corresponding message is not translated.

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/darktable-org/dtdocs/issues/247#issuecomment-813410960

lebmich commented 3 years ago

Many thanks !

paperdigits commented 3 years ago

I'm still not sure what is causing the issue, I'm continuing to investigate this.

paperdigits commented 3 years ago

@lebmich I've updated the POT and PO files, can you please check now?

github-actions[bot] commented 3 years ago

This issue has not had any activity in the past 60 days and will be closed in 365 days if not updated.

github-actions[bot] commented 2 years ago

This issue has not had any activity in the past year and has therefore been closed.