website icon indicating copy to clipboard operation
website copied to clipboard

The Russian language is not shown in Gin Docs

Open KostLinux opened this issue 10 months ago • 9 comments

@appleboy They Russian language is not shown in Gin Docs even tho I've added everything was needed there.

KostLinux avatar Apr 21 '24 14:04 KostLinux

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.

deining avatar Apr 24 '24 18:04 deining

Please have a look at my PR #274 that makes the website work again.

deining avatar Apr 24 '24 18:04 deining

@deining there's still no russian lang on page even though the PR got merged. image

KostLinux avatar Apr 27 '24 05:04 KostLinux

@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.

deining avatar Apr 27 '24 08:04 deining

Started with #276 to fix the deployment, but this site hasn't seen care for a long time! Will continue later!

deining avatar Apr 27 '24 09:04 deining

Finished my work on #276, once this PR got merged, Russian language should be selectable!

deining avatar Apr 28 '24 08:04 deining

@appleboy @deining i think we should revert the last merge, cause now the language selector is not working :D

KostLinux avatar May 16 '24 21:05 KostLinux

@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.

luigimorel avatar Jul 03 '24 07:07 luigimorel

@KostLinux @appleboy
image

luigimorel avatar Jul 03 '24 19:07 luigimorel