Skip to content

Commit

Permalink
User guide: correct outdated flag --i18n-warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
deining committed May 31, 2022
1 parent a0daa3e commit b129684
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
"bootstrap": "^4.6.1"
},
"devDependencies": {
"hugo-extended": "0.99.1"
"hugo-extended": "0.100.0"
}
}
4 changes: 1 addition & 3 deletions userguide/content/en/docs/Language/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,5 @@ All UI strings (text for buttons etc.) are bundled inside `/i18n` in the theme,
If your chosen language isn't currently in the theme and you create your own `.toml` file for all the common UI strings (for example, if you translate the UI text into Japanese and create a copy of `en.toml` called `jp.toml`), we recommend you do this **in the theme** rather than in your own project, so it can be reused by others. Any additional strings or overridden values can be added to your project's `/i18n` folder.

{{% alert title="Hugo Tip" %}}
Run `hugo server --i18n-warnings` when doing translation work, as it will give you warnings on what strings are missing.
Run `hugo server --printI18nWarnings` when doing translation work, as it will give you warnings on what strings are missing.
{{% /alert %}}


0 comments on commit b129684

Please sign in to comment.