Problem/Motivation

When you have long texts the calls to executeTranslation are split up but the arguments are passed in the wrong order. I got an error like: Translation has been rejected with following error: Google\ApiCore\ApiException: { "message": "Source language is invalid.", "code": 3, "status": "INVALID_ARGUMENT", "details": [ { "@type": "type.googleapis.com\/google.rpc.BadRequest", "fieldViolations": [ { "field": "source_language_code", "description": "Source language:

"

Steps to reproduce

Try and translate a really long content type > 20,000 characters.

Proposed resolution

Pass args in right order

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

achap created an issue. See original summary.

kallado’s picture

Thanks for the fix. Merged and in version 1.0.3

kallado’s picture

kallado’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.