-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
In v0.83.0 : i18n|MISSING_TRANSLATION WARN messages for keywords not used in i18n #8492
Comments
What do you mean when you say, "I do not use in i18n?" |
|
Search your site (including theme) for |
Yes. First thing I have done. And done this on all my sites. They all have the same WARN messages, even if they all have different themes. Messages seems mainly related to my
|
Tried some more testing. This is a false missing translation report (not menu related)
File :
|
OK, I scratched my head a little here as the upstream library actually both returns the correct message, but also an error ... So, it kind of works even with all of these warnings. OK, that's fixable. |
Oh yes ... I forgot the obvious !!! |
@divinerites Can you share a repository with me, privately if you wish? I do not understand why are receiving an i18n warning about the keys you don't use. For example, |
Fix this by 1. Making sure that only numerical values are treated as plural counts 2. Making sure that `i18n.pluralFormNotFoundError` is not logged as a warning if `other` resolved. Note that 2. isn't a new problem, but became visible because of the plural improvements in Hugo `0.83.0`. Fixes gohugoio#8492
Done. And I can add you to other repository as well if needed. Thanks a lot for the help on this one. |
Fix this by 1. Making sure that only numerical values are treated as plural counts 2. Making sure that `i18n.pluralFormNotFoundError` is not logged as a warning if `other` resolved. Note that 2. isn't a new problem, but became visible because of the plural improvements in Hugo `0.83.0`. Fixes #8492
Quick_links is used by |
Tested you patch, bep and I have no more WARN :-) jmooring, I double check the fullscreen WARN and it is not used by i18n. I do not have this WARN anymore with bep's patch. |
Ooohhhhhhh ... I'm so dumb.
I didn't thought to look onto my generic hugo modules
Really sorry for losing your time.
…
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
What version of Hugo are you using (
hugo version
)?Does this issue reproduce with the latest release?
Yes.
SInce v0.83.0, I now have WARN messages, but for keywords I do not use in i18n.
Most of those keywords seems belonging to my
[[menu.main]]
section.But
fullscreen
is not, and I see nothing obvious for those.example for 1 site:
and also (closing #8493) this
The text was updated successfully, but these errors were encountered: