leolivier / auto-po-lyglot

The goal of this project is to use various LLMs to help translate po files using a first already translated file.
https://github.com/leolivier/auto-po-lyglot
MIT License
0 stars 0 forks source link

When a po entry has plurals, the translation does not work #13

Closed leolivier closed 1 month ago

leolivier commented 1 month ago

For instance, if input file contains:

msgid "One photo"
msgid_plural "%(counter)s photos"
msgstr[0] "Une photo"
msgstr[1] "%(counter)s photos"

==> the German translation contains exactly the same but with the following explanation:

#. Explanation: The English phrase "One photo" is already clear and
#. unambiguous.  The French translation, "One photo," maintains the same
#. meaning in German.