openbikesensor / openbikesensor/openbikesensor.github.io

Avoid automatic redirect to homepage when swichting language and page does not exist

Open
#83 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

technical
Dominant language
HTML
Stars
29
Forks
37
PR merge metrics
No merged PRs in 30d

Description

  • Go to a page that exists only in your current language
  • Switch to another lanugage through the top bar
  • You'll end up in the homepage.

This is confusing. Somehow prevent that, best case by showing the "language switch" page (i.e "this page is not available in X, choose another language:").

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

Reproduce the listed steps from a page available only in the current language, then trace the top-bar language-switch entry point; the issue names no file or test. Done means switching to an unavailable translation no longer silently redirects to the homepage and instead shows the language-switch guidance page or equivalent choice.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
documentation, localization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.