Ghost/ghost/i18n
Daniel Lockyer acf2ab2d22 Added translation wrapper to public-facing strings in Portal
refs https://github.com/TryGhost/Ghost/issues/15502

- in order to use the translations, strings must be wrapped in the `t`
  function, which is passed through AppContext
- whilst I haven't instrumented all public strings, the vast majority
  are done here and the strings have been brought into the JSON locale files using `yarn translate:generate`
2023-02-28 10:03:04 +01:00
..
lib Fixed returning key when value is empty string 2023-02-27 13:18:55 +01:00
locales Added translation wrapper to public-facing strings in Portal 2023-02-28 10:03:04 +01:00
test
.eslintrc.js
i18next-parser.config.js Added jsdoc annotations for i18next-parser config type 2023-02-27 11:29:56 +01:00
index.js
package.json Update dependency i18next-parser to v7.7.0 2023-02-21 09:38:04 +01:00
README.md

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