Skip to content
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

The Russian language is not shown in Gin Docs #273

Open
KostLinux opened this issue Apr 21, 2024 · 7 comments
Open

The Russian language is not shown in Gin Docs #273

KostLinux opened this issue Apr 21, 2024 · 7 comments

Comments

@KostLinux
Copy link
Contributor

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

@deining
Copy link
Contributor

deining commented Apr 24, 2024

Inside config.toml, have a look at the first line of the section for Russian language, it declares the section as Portuguese:

website/config.toml

Lines 133 to 139 in a6b5d1f

[languages.pt]
title = "Gin Web Framework"
description = "Gin Web Framework"
languageName = "Russian"
contentDir = "content/ru"
time_format_default = "02.01.2006"
time_format_blog = "02.01.2006"

Fix this copy and paste error and change line 133 from [languages.pt] to [languages.ru] and see whether it works then.

@deining
Copy link
Contributor

deining commented Apr 24, 2024

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

@KostLinux
Copy link
Contributor Author

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

@deining
Copy link
Contributor

deining commented Apr 27, 2024

@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
Copy link
Contributor

deining commented Apr 27, 2024

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

@deining
Copy link
Contributor

deining commented Apr 28, 2024

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

@KostLinux
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants