No keys were found
See original GitHub issueI have tried following the stackblitz example but I get an error referring to missing keys. The following is one of them:
WARNING(astro-i18next): missing translation key welcome.
astro-i18next.config.mjs
/** @type {import('astro-i18next').AstroI18nextConfig} */
export default {
defaultLocale: "en",
locales: ["en", "fr"],
i18next: {
// debug is convenient during development to check for missing keys
debug: true,
initImmediate: false,
backend: {
loadPath: './src/locales/{{lng}}.json',
},
},
i18nextPlugins: { fsBackend: 'i18next-fs-backend' },
};
src/locales/en.json
{
"pageTitle": "Welcome to Astro.",
"welcome": "Welcome to <0>Astro</0>",
"instructions": "Checkout the <0>src/pages</0> directory to get started.<1><2>Code Challenge:</2> Translate this page with your language of choice.",
"cards": {
"documentation": {
"title": "Documentation",
"body": "Learn how Astro works and explore the docs."
},
"integrations": {
"title": "Integrations",
"body": "Supercharge your projects with new frameworks and libraries."
},
"themes": {
"title": "Themes",
"body": "Explore a galaxy of community-built starter themes."
},
"chat": {
"title": "Chat",
"body": "Come and say hi to our amazing Discord community. ❤️"
}
}
}
Issue Analytics
- State:
- Created 10 months ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
GPA can't import PGP public key: "No keys were found." - Reddit
GPA can't import PGP public key: "No keys were found." I am trying to import a PGP public key into GPA 0.9.10 (GNU...
Read more >No keys were found for the following IDs (STOPDecrypter)
If the STOPDecrypter displays this message: “No keys were found for the following IDs”, then there are two options: 1. the creator of...
Read more >pgptool/Lobby - Gitter
... Can't read key file -> Unexpected exception: Neither Secret nor Public keys were found in the input file. No luck, I just...
Read more >OpenPGPkeyserver No keys found after Submit OpenPGP ...
The answer to my question: OpenPGPkeyserver No keys found after Submit OpenPGP Public Key is related with a wrong value passed to the...
Read more >Can't import public plaintext keys into GPG Keychain
I did some searching and found that once copied to clipboard (cmd+C) then in the main window, you just paste (CMD+V) which did...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
EDIT: I was able to make it work only after running i18n:generate. I might have missed it in the docs, but I didn’t know that I had to run that command in order to make it work!
Sorry, I’m not sure to follow. What doesn’t work? The basics example works perfectly when I try it.