dcpomatic icon indicating copy to clipboard operation
dcpomatic copied to clipboard

French translation

Open davidperrenoud opened this issue 3 years ago • 4 comments

I have overhauled the French translation. I have not verified exactly but it should now be 100% complete.

It seems that quite a lot of percent characters were missing, such as %f, %n, etc. There were a couple of translations that were completely wrong probably due to copy-paste

What is difficult in French, is that an unbreakable space is needed before certain characters such as ":", "?", "!", etc. You will see that a lot of strings end with an unbreakable space in the French translation contrary to the English string. This is because the ":" character seems to be added later in the C++ code. It would be nice if DCP-o-matic the ":" character in the translatable string instead.

It is not always clear if English words such as "Read" are past participles such as in "this e-mail has been read" or infinitive verbs such as in "please read this e-mail". It would be nice to have a comment in the translation to differentiate these two cases.

For dcp_content_type.cc, it would be nice to mention https://registry-page.isdcf.com/contenttypes/ to better understand the types. Most translations do not seem to bother translating them and the Polish translation falls back to showing FTR, TLR, TSR, etc.

davidperrenoud avatar Nov 15 '22 17:11 davidperrenoud

Wow, this is amazing! Thank you!

Maybe I should merge this and then we can think about your questions? Or would you prefer to clarify things before merging?

cth103 avatar Nov 15 '22 18:11 cth103

We can merge it. :)

davidperrenoud avatar Nov 15 '22 20:11 davidperrenoud

I squashed the two commits and merged, thank you!

cth103 avatar Nov 15 '22 22:11 cth103

What is difficult in French, is that an unbreakable space is needed before certain characters such as ":", "?", "!", etc. You will see that a lot of strings end with an unbreakable space in the French translation contrary to the English string. This is because the ":" character seems to be added later in the C++ code. It would be nice if DCP-o-matic the ":" character in the translatable string instead.

This is a little tricky, as the presence of the : in some cases is platform dependent (for labels it's added on macOS, where this seems to be the standard, but not on Windows or Linux).

I guess we could do this the other way around: the translatable strings have a : and we remove it for labels on Linux/Windows. That would require a bit of effort to update existing translations.

It is not always clear if English words such as "Read" are past participles such as in "this e-mail has been read" or infinitive verbs such as in "please read this e-mail". It would be nice to have a comment in the translation to differentiate these two cases.

Do you have any note of confusing phrases that you found? It's no problem to add clarifying comments.

For dcp_content_type.cc, it would be nice to mention https://registry-page.isdcf.com/contenttypes/ to better understand the types. Most translations do not seem to bother translating them and the Polish translation falls back to showing FTR, TLR, TSR, etc.

Nice idea, I added a link in 3476d6760f1efe3e8d51ba5ae535b38af9cf955a

cth103 avatar Nov 15 '22 22:11 cth103