Skip to content

Commit

Permalink
User guide: correct outdated flag --i18n-warnings (google#1034)
Browse files Browse the repository at this point in the history
Co-authored-by: LisaFC <lcarey@google.com>
  • Loading branch information
2 people authored and fekete-robert committed Sep 13, 2022
1 parent a2bace6 commit 9b0d6bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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.100.0"
"hugo-extended": "0.100.2"
}
}
2 changes: 1 addition & 1 deletion userguide/content/en/docs/Language/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,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 9b0d6bf

Please sign in to comment.