Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i18n-ally-translation-missing error shows up without reason #1228

Open
martinwichner opened this issue Nov 1, 2024 · 1 comment
Open

i18n-ally-translation-missing error shows up without reason #1228

martinwichner opened this issue Nov 1, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@martinwichner
Copy link

Describe the bug
I have set up a default translation. When i use one of my keys, the error "de-De: Translation of "component_description" is missing(i18n-ally-translation-missing)" is shown.
But when i hover my key it shows me all correct translations:

image

Extension Version
i18n Ally

Framework/i18n package you are using
react-i18next

Device Infomation

  • OS: Windows
  • Version: Windows 10
  • VS Code Version: 1.94.2

Extension Log
Go to View -> Output -> i18n Ally, and paste the content below. You should mask any sensitive information

🔄 File changed (change) de/defaults.json
	📑 Loading (de) de/defaults.json [1730458300125.3628]
✅ Loading finished

🔄 File changed (change) de/defaults.json
	📑 Loading (de) de/defaults.json [1730458300125.3628]
✅ Loading finished

🔄 Update usage cache of .\src\hooks\useTranslation.stories.tsx
🔄 Update usage cache of .\src\hooks\useTranslation.stories.tsx
🧰 Config "i18n-ally.displayLanguage" changed
📦 Packages file "package.json" found
🕳 Packages file "pubspec.yaml" not exists
🕳 Packages file "composer.json" not exists
🕳 Packages file "Gemfile" not exists
🧩 Enabled frameworks: React I18next, General
🧬 Enabled parsers: json, yaml, json5

🧰 Config "i18n-ally.sourceLanguage" changed
📦 Packages file "package.json" found
🕳 Packages file "pubspec.yaml" not exists
🕳 Packages file "composer.json" not exists
🕳 Packages file "Gemfile" not exists
🧩 Enabled frameworks: React I18next, General
🧬 Enabled parsers: json, yaml, json5

🔄 Update usage cache of .\src\hooks\useTranslation.stories.tsx
🧰 Config "i18n-ally.sourceLanguage" changed
📦 Packages file "package.json" found
🕳 Packages file "pubspec.yaml" not exists
🕳 Packages file "composer.json" not exists
🕳 Packages file "Gemfile" not exists
🧩 Enabled frameworks: React I18next, General
🧬 Enabled parsers: json, yaml, json5

🔄 Update usage cache of .\src\hooks\useTranslation.stories.tsx
🌍 Translating "component_description" (de->en)
💾 Writing .\src\hooks\locales\en\defaults.json
✅ Loading finished

🔄 File changed (change) en/defaults.json
	📑 Loading (en) en/defaults.json [1730458424152.5852]
✅ Loading finished

🔄 Update usage cache of .\src\hooks\useTranslation.stories.tsx
🧰 Config "i18n-ally.displayLanguage" changed
📦 Packages file "package.json" found
🕳 Packages file "pubspec.yaml" not exists
🕳 Packages file "composer.json" not exists
🕳 Packages file "Gemfile" not exists
🧩 Enabled frameworks: React I18next, General
🧬 Enabled parsers: json, yaml, json5

🧰 Config "i18n-ally.sourceLanguage" changed
📦 Packages file "package.json" found
🕳 Packages file "pubspec.yaml" not exists
🕳 Packages file "composer.json" not exists
🕳 Packages file "Gemfile" not exists
🧩 Enabled frameworks: React I18next, General
🧬 Enabled parsers: json, yaml, json5

🔄 Update usage cache of .\src\hooks\useTranslation.tsx
🔄 Update usage cache of .\src\hooks\useTranslation.tsx
@martinwichner martinwichner added the bug Something isn't working label Nov 1, 2024
@haydenthai
Copy link

@martinwichner I'm having this same issue, did you find a fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants