pragmatrix / tnt

Command line tool for organizing translation strings extracted from .NET assemblies. Supports Excel, XLIFF roundtrips and machine translations.
MIT License
30 stars 2 forks source link

Support Google Translate V3 batching and error reporting #95

Closed pragmatrix closed 4 years ago

pragmatrix commented 4 years ago

Because Google imposes limits on the translation API, we need to translate the string in batches (see #90 and #91). This PR takes Google's recommended 5000 code points into account and also supports partial translations, which make sense when request quotas would be exceeded.