Skip to content

Use the i18next eslint plugin#731

Merged
lslezak merged 1 commit intomasterfrom
eslint-plugin-i18next
Sep 1, 2023
Merged

Use the i18next eslint plugin#731
lslezak merged 1 commit intomasterfrom
eslint-plugin-i18next

Conversation

@lslezak
Copy link
Copy Markdown
Contributor

@lslezak lslezak commented Sep 1, 2023

Problem

  • We do not automatically scan the web UI for untranslated texts, we can easily miss some translations

Solution

Notes

  • This is not a perfect solution, it reports only string literals, it cannot find cases like this:
// missing translation
const msg = "message";
...
<b>{msg}</b>
  • However, it still found like a half dozen of missing translations so it still makes sense

...to find all untranslated text literals

- fixed found problems
@lslezak lslezak merged commit 07f5da1 into master Sep 1, 2023
@lslezak lslezak deleted the eslint-plugin-i18next branch September 1, 2023 11:11
@imobachgs imobachgs mentioned this pull request Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants