Translate Mendil's chat messages into French (Français)

Open Beginner friendly
#36 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
88/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
javascript, node.js

Research direction

Start with src/i18n/en.js, then read the language registration in src/i18n/index.js and the en block of STRINGS in src/panel/public/app.js. Copy those English entries for French, translate the values while preserving placeholders, and optionally add French command aliases. Run npm test; done means both chat and panel have matching keys and placeholders.

Written by the indexing model from the issue text.

Description

good first issue help wanted translation

Mendil speaks English, German and Turkish today. With a French translation, French-speaking communities could set BOT_LANGUAGE=fr.

The work is about 220 short strings, around 115 for the chat messages and around 110 for the web panel, and you don't need to know how to code:

  1. Copy src/i18n/en.js to src/i18n/fr.js and translate the values. Leave placeholders such as {title} as they are.
  2. If you like, add French command aliases (a French word for play, for example) in commandAliases.
  3. Register the file in src/i18n/index.js.
  4. Translate the web panel: in src/panel/public/app.js, copy the en block of STRINGS to a new fr block and translate its values the same way.
  5. Run npm test, which checks that the chat and the panel have every key and placeholder.

The German translation (#30) is a good example of the whole change. CONTRIBUTING.md has the details. The docs and examples that list the languages are updated after the merge, so you don't need to touch those. If you take this on, leave a comment so nobody else starts the same work.

Dominant language
JavaScript
Stars
7
Forks
0
Avg merge
1d 10h
Merged PRs (30d)
25

Getting set up

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 ulaski/mendil

All issues in ulaski/mendil

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.