Thanks @alanbchristie, this will be fixed once this gets merged ![]()
https://github.com/discourse/discourse-translator/pull/137
While at it I fixed the truncate method to work at the byte-level instead of the character-level since the API expect at most 10k bytes, not 10k characters.