Problem
The gt-node quickstart instructs users to set GT_API_KEY in a .env file, but initializeGT() does not automatically read it from process.env. The example only passes projectId: process.env.GT_PROJECT_ID — not the API key.
When following the quickstart exactly, the server logs:
I18nManager: devApiKey or apiKey is required
And translations do not work.
Expected behavior
initializeGT() should auto-read GT_API_KEY from process.env (similar to how it reads GT_PROJECT_ID), or the quickstart should explicitly pass devApiKey: process.env.GT_API_KEY.
Steps to reproduce
- Follow the gt-node quickstart exactly
- Set
GT_API_KEY and GT_PROJECT_ID in .env
- Run the full example Express server
- Observe the warning and no translations