Choose the UI's language in Settings

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
rust

Research direction

Start from the design sections the issue cites (§8.4, decision 101, A1–A6) to see the planned shape, then find the Leptos settings view and the module that currently negotiates language from navigator.languages. The stored choice needs a persistence hook in the browser and to be consulted before that negotiation, and the app shell needs to set lang and dir on <html> on change. Done means the picker lists only build-complete languages by endonym plus "the browser's languages", a selection re-renders the UI, and the referenced @ui accessibility scenarios pass.

Written by the indexing model from the issue text.

Description

enhancement

The stored language choice §8.4 leaves unbuilt (decision 101): a language setting in the UI, kept in the browser, ahead of navigator.languages in negotiation. It lists only the languages the build offers (complete and current, decision 101), each by its own name (日本語, English), plus "the browser's languages". Choosing one re-renders the UI and sets lang and dir on <html>. Keyboard and screen-reader use per A1–A6, with its @ui scenarios.

Dominant language
Rust
Stars
0
Forks
0
Avg merge
56m
Merged PRs (30d)
349

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from nledford/Ladderback

All issues in nledford/Ladderback

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.