rust-lang / rust-lang/rust

Words in `<code></code>` in docs make machine translation even weirder than usual

Open
#126,532 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-docs A-rustdoc-ui A-translation C-enhancement T-rustdoc
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

Location

This happens all over the page.

https://doc.rust-lang.org/core/mem/union.MaybeUninit.html

Summary

Some backquoated string move to the end of the sentence.

docoutput
doccode

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the rendered core::mem::union.MaybeUninit documentation page and compare the machine-translated output with the docoutput and doccode screenshots. Trace where backquoted code strings are handled in the documentation or translation flow, then verify that code remains in the intended sentence position under machine translation.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
documentation, localization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.