ruby / ruby/www.ruby-lang.org

Remember language choice

Open
#1,827 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
944
Forks
673
Avg merge
2d 6h
Merged PRs (30d)
9

Description

Every time I visit ruby-lang.org, I get redirected to https://www.ruby-lang.org/es/, I guess because Spanish is the language of my browser. Since the Spanish translation is always outdated, I have to go to the footer or directly edit the URL to switch to English.

It'd be nice if either my choice would be remembered through a cookie or something, or that the browser language auto-detection was turned off, given that the translations are usually very outdated.

Thanks a lot!

Contributor guide

No contributing guide indexed for this repository

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 in the ruby-lang.org website source by tracing how the visitor's browser language leads to the Spanish redirect and how the language choice is exposed in the footer. Check the existing locale pages and deployment behavior, then verify that a visitor can choose English and retain that choice on later visits without breaking language selection.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, jekyll
Domain
localization, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.