Skip to content

x/website: add support for languages other than English #21666

@ericlagergren

Description

@ericlagergren

Right now the docs are only in English. There's some support for languages other than English, but the wiki page is merely a footnote.

Other projects—like React—are attempting this as well. Not only does it give newcomers a (somewhat) easy way to contribute to Go, it also makes Go a more welcoming and inclusive place for non-English speakers. Obviously the English version would remain the "master" version of the docs.

Ideally, golang.org would respect the Accept-Language header or support some sort of en/, fr/, etc. URL path option.

I'm not sure how much of a proposal this needs to be, but it's something I'm willing to put further thought into if needed. (It's not a language change or anything, so I didn't write out a full proposal.)

Projects with their docs and/or websites in multiple languages:

  • React
  • Rust
  • Python
  • Java (sorta)
  • PHP
  • JavaScript (via MDN)
  • Perl (third party)
  • Ruby
  • Babel
  • LaTeX
  • Scala (like how Go currently does it, but more uniform)
  • ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationIssues describing a change to documentation.FrozenDueToAgeNeedsDecisionFeedback is required from experts, contributors, and/or the community before a change can be made.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions