Ghost/ghost/i18n
Cathy Sarisky a31afd4b77
Made i18n more tolerant of missing files (#21561)
no ref

This fix adds an extra fallback to 'en' when a locale folder is missing one or more translation files, and a test for the fallback. Previously, Ghost would fail to boot if an expected file translation was missing.
2024-11-21 09:03:56 -06:00
..
lib Made i18n more tolerant of missing files (#21561) 2024-11-21 09:03:56 -06:00
locales Wired up Admin Comment Endpoints to UI (#21661) 2024-11-21 10:52:36 +00:00
test Made i18n more tolerant of missing files (#21561) 2024-11-21 09:03:56 -06:00
.eslintrc.js Added i18n package 2023-01-18 13:54:14 +01:00
generate-context.js Added locales/context.json to help with translating 2023-03-23 16:29:59 +01:00
i18next-parser.config.js Added support for namespaces to i18n package 2023-03-01 10:24:08 +01:00
index.js Added i18n package 2023-01-18 13:54:14 +01:00
package.json 🌐Added i18n for newsletter strings (#21433) 2024-10-31 08:41:39 -05:00
README.md Added i18n package 2023-01-18 13:54:14 +01:00

i18n

i18n translations for Ghost

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests