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

Localization Improvement: Use Localized Confiig Reference link for Config Reference Button #1047

Closed
dingyifei opened this issue Aug 26, 2022 · 0 comments · Fixed by #1120
Closed
Labels
💡 Type: FR Requests a new feature
Milestone

Comments

@dingyifei
Copy link

dingyifei commented Aug 26, 2022

Requested feature:

The klipper-translations project has 4 additional localized Klipper documents available. Switch displayed language should also change the Config Reference and other potential links if the localized version of the document is available.

Solves the following problem:

improve localization

Additional information:

The document source is hosted on https://github.com/Klipper3d/klipper-translations where the compiled MkDocs are accessible with a link like https://www.klipper3d.org/<lang code>/<document html>.

For example, the Hungarian config reference is https://www.klipper3d.org/hu/Config_Reference.html

A full list of usable codes can be pulled from https://github.com/Klipper3d/klipper-translations/blob/translations/active_translations.

Directory Name is the regular language code following Weblate language code settings and Site Language is used in <lang code>, the rest of the entries in active_translations are for compatibility reasons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💡 Type: FR Requests a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants