Call to undefined method Drupal\auto_node_translate\GoogleTranslationApi::t()

Created on 17 May 2023, over 1 year ago
Updated 18 May 2023, over 1 year ago

Problem/Motivation

I installed the module on a Drupal 9 (composer) with google translate v3 config (API enable + SA setup) and when I'm trying to translate a node I have this error message.

Error: Call to undefined method Drupal\auto_node_translate\GoogleTranslationApi::t() in Drupal\auto_node_translate\GoogleTranslationApi->translate() (line 64 of modules/contrib/auto_node_translate/src/GoogleTranslationApi.php).

Did I miss something in the installation process ?

Bonus question: Can we translate a product from Drupal commerce ?

📌 Task
Status

Fixed

Version

2.1

Component

Code

Created by

🇨🇦Canada darkjeff

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024