这是indexloc提供的服务,不要输入任何密码
Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Conversation

@nickfrosty
Copy link
Contributor

Problem

The validator docs translations broke a long time ago. And have not displayed any translated content since.

Note: The docs use the Crowdin platform to facilitate translations

Summary of Changes

  • updated the Crowdin CLI
  • updated the crowdin.yml configuration file to upload and download the correct doc file to Crowdin
  • added the serve command for better local testing of doc builds via docusaurus
  • make MDX/JSX imports use the @site alias
  • make static pdf files link to the github blob (since building translations fail with relative paths)
  • updated the docs readme to include details and common issues with translations

@nickfrosty nickfrosty merged commit 8f7fda8 into solana-labs:master Feb 9, 2024
@nickfrosty nickfrosty deleted the docs-translation-support branch February 9, 2024 20:32
@nickfrosty nickfrosty added the v1.18 PRs that should be backported to v1.18 label Feb 9, 2024
@mergify
Copy link
Contributor

mergify bot commented Feb 9, 2024

Backports to the beta branch are to be avoided unless absolutely necessary for fixing bugs, security issues, and perf regressions. Changes intended for backport should be structured such that a minimum effective diff can be committed separately from any refactoring, plumbing, cleanup, etc that are not strictly necessary to achieve the goal. Any of the latter should go only into master and ride the normal stabilization schedule. Exceptions include CI/metrics changes, CLI improvements and documentation updates on a case by case basis.

mergify bot pushed a commit that referenced this pull request Feb 9, 2024
* chore: update crowdin and add serve command

* feat: upload all desired files to crowdin

* fix: absolute urls for pdfs

* fix: do not import components with relative paths

* feat: updated readme

* fix: whitespace

(cherry picked from commit 8f7fda8)
nickfrosty added a commit that referenced this pull request Feb 9, 2024
[docs] translation support (#35166)

* chore: update crowdin and add serve command

* feat: upload all desired files to crowdin

* fix: absolute urls for pdfs

* fix: do not import components with relative paths

* feat: updated readme

* fix: whitespace

(cherry picked from commit 8f7fda8)

Co-authored-by: Nick Frostbutter <75431177+nickfrosty@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

v1.18 PRs that should be backported to v1.18

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants