rust-lang / rust-lang/book

Italics for foreign words on translations

Open
#670 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Translations
Dominant language
Rust
Stars
18.3k
Forks
4.1k
Avg merge
14m
Merged PRs (30d)
1

Description

I'm currently translating the frozen chapters of the book to spanish and I have a little notation issue. In several texts written in spanish, italics is used to indicate that a word comes from a foreign language. For example:

A cookie is used to store informacion on the user's web browser.
Una cookie es utilizada para almacenar información en el navegador web del usuario.

However, the book also uses italics to emphasize certain words when is pertinent. I discussed this matter with @steveklabnik and he told me to submit an issue, because it's important to mantain consistency between languages.

One possible solution would be to translate every word into spanish. However there are some cases where this might be a problem:

  • When there is not a precise translation: the word "string" has no direct translation into spanish, the accepted translation would be "cadena de caracteres" which roughly means "character chain". Nevertheless we just say "string" instead of "cadena de caracteres"

  • When the translation makes a translation senseless: Saying something like "io stands for input/output" could be translated into "io significa entrada/salida", but now it is not clear why is there an I and an O on io.

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

Start by reviewing the frozen Spanish chapters and the existing uses of italics for emphasis and foreign words. Compare the examples in this issue across the translations, then document and apply a consistent convention once the treatment of terms such as “cookie,” “string,” and “io” is decided.

Written by the indexing model from the issue text.

Assessment

Domain
documentation, internationalization, localization
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.