The kit calls translateSingle(String(input), …), so a document with input: 42 sends "42" to the translation API where the extension sent the raw 42. Same for the value logged by logs.translateInputStringToAllLanguages.
Only reachable on the create path — the update path deletes existing translations for any non-string, non-object input before it gets here.
Parity ledger: #2974, firestore-translate-text §4b.
The kit calls
translateSingle(String(input), …), so a document withinput: 42sends"42"to the translation API where the extension sent the raw42. Same for the value logged bylogs.translateInputStringToAllLanguages.Only reachable on the create path — the update path deletes existing translations for any non-string, non-object input before it gets here.
Parity ledger: #2974, firestore-translate-text §4b.