website
website copied to clipboard
The Russian language is not shown in Gin Docs
@appleboy They Russian language is not shown in Gin Docs even tho I've added everything was needed there.
Inside config.toml
, have a look at the first line of the section for Russian language, it declares the section as Portuguese:
https://github.com/gin-gonic/website/blob/a6b5d1fb116ff092c05f082c7e0a7a9b11555368/config.toml#L133-L139
Fix this copy and paste error and change line 133 from [languages.pt]
to [languages.ru]
and see whether it works then.
Please have a look at my PR #274 that makes the website work again.
@deining there's still no russian lang on page even though the PR got merged.
@deining there's still no russian lang on page even though the PR got merged.
Yes, you are right. But: the current web site doesn't represent the HEAD of repo, deployment of the site after my PR was merged. failed. See this log:
Run hugo --minify
Error: add site dependencies: load resources: loading templates: "/home/runner/work/website/website/themes/docsy/layouts/partials/footer/copyright.html:20:1": parse failed: template: partials/footer/copyright.html:20: unclosed action
Busy right now, I will have a look on this later on. The hugo version used is quite dated, and there may be other issues.
Started with #276 to fix the deployment, but this site hasn't seen care for a long time! Will continue later!
Finished my work on #276, once this PR got merged, Russian language should be selectable!
@appleboy @deining i think we should revert the last merge, cause now the language selector is not working :D
@KostLinux we can wait for @appleboy to merge #280. I used the example Docsy site from Google which fixes most of the broken functionality issues in the website.
@KostLinux @appleboy