vitest-dev / vitest-dev/vitest

Prepare the interface of @vitest/ui for translation

Open
#5,018 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

discussion
Dominant language
TypeScript
Stars
17.1k
Forks
2k
Avg merge
1d 22h
Merged PRs (30d)
94

Description

Clear and concise description of the problem

The interface of @vitest/ui enables to view and interact with tests. There are few controls and components on the interface, however they seem to be written hard-coded in english, without the possibility to be read in other language, if I am not wrong.

Suggested solution

Proposal 1: @vitest/ui package could provide translations for its UI by default.

Alternative

Proposal 2: @vitest/ui package could at least enable people to provide translations for its UI using the config and/or CLI.

Additional context

Although one person can read english, it may prefer to read in its mother language.

Validations

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

Read the @vitest/ui package and inspect the interface controls and components described in the issue. Then examine the config and CLI as possible translation entry points before choosing whether default translations or user-provided translations is in scope. Done means the selected translation approach is defined for the UI and its supported usage is clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, internationalization
Issue type
Feature
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.