diff --git a/devlog/en-US/gt-i18n_v0_9_0.mdx b/devlog/en-US/gt-i18n_v0_9_0.mdx index e6893c8..e2b4191 100644 --- a/devlog/en-US/gt-i18n_v0_9_0.mdx +++ b/devlog/en-US/gt-i18n_v0_9_0.mdx @@ -33,7 +33,7 @@ Create a `dictionary.json` file in the root of your project with your source (En } ``` -When you run the GT CLI (`npx gtx translate`), it will automatically detect `dictionary.json` in the project root and translate it for your configured locales. +When you run the GT CLI (`npx gt translate`), it will automatically detect `dictionary.json` in the project root and translate it for your configured locales. @@ -96,5 +96,5 @@ The second rule assumes that translated dictionaries match the structure of your ## Links - [PR #1359](https://github.com/generaltranslation/gt/pull/1359) -- [`getTranslations` API reference](/docs/next/api/dictionary/get-translations) +- [`getTranslations` API reference](/docs/node/api/get-translations) - [Dictionaries guide](/docs/next/guides/dictionaries) diff --git a/docs/en-US/node/api/get-translations.mdx b/docs/en-US/node/api/get-translations.mdx index 6844cde..c4380cc 100644 --- a/docs/en-US/node/api/get-translations.mdx +++ b/docs/en-US/node/api/get-translations.mdx @@ -79,7 +79,7 @@ Create a `dictionary.json` file in your project root: } ``` -When you run `npx gtx translate`, the CLI automatically detects `dictionary.json` and translates it for your configured locales. +When you run `npx gt translate`, the CLI automatically detects `dictionary.json` and translates it for your configured locales. Then initialize GT with the dictionary: