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.
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.