[pve-devel] [PATCH proxmox-i18n] use xgettext to extract translatable strings

Alexander Zeidler a.zeidler at proxmox.com
Mon Dec 4 15:43:41 CET 2023


>From a brief look at it:

I also think it's a good idea to provide more information for translators
(where it actually adds value and doesn't just bloat code).

> Cons:
> - In total 3 translations were marked as fuzzy. Translators will have to
>   review and mark them as translated again.
since ~12k translations are already marked as fuzzy ...

> - If using -c, gettext can't distinguish if the comment above is useful
>   for translators. The common practice is to add a `TRANSLATORS:` tag to
>   these comments.
There's also "-cTAG"

> +	find . -iname "*.js" -path "./$(2)*" | xargs xgettext -c -s \
rather: -name




More information about the pve-devel mailing list