diff --git a/docs/widgets/authoring/translations.md b/docs/widgets/authoring/translations.md index 77ad07038..df29c312b 100644 --- a/docs/widgets/authoring/translations.md +++ b/docs/widgets/authoring/translations.md @@ -34,7 +34,7 @@ Homepage uses the [next-i18next](https://github.com/i18next/next-i18next) librar Homepage uses translated and localized strings for **all text and numerical content** in widgets. English is the default language, and other languages can be added via [Crowdin](https://crowdin.com/project/gethomepage). To add the English translations for your widget, follow these steps: -Open the `public/locales/en/common.js` file. +Open the `public/locales/en/common.json` file. Add a new object for your widget to the bottom of the list, like this: diff --git a/docs/widgets/authoring/tutorial.md b/docs/widgets/authoring/tutorial.md index d9fef90b7..251fb41e8 100644 --- a/docs/widgets/authoring/tutorial.md +++ b/docs/widgets/authoring/tutorial.md @@ -150,7 +150,7 @@ This will render the widget with placeholders for the data, i.e., a skeleton vie !!! tip "Translation Tips" - The `label` prop in the `Block` component corresponds to the translation key we defined earlier in the `common.js` file. All text and numerical content should be translated. + The `label` prop in the `Block` component corresponds to the translation key we defined earlier in the `common.json` file. All text and numerical content should be translated. ---