mi6 / mi6/ic-ui-kit

CSpell: Add other locale dictionaries

Open
#4,090 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
53
Forks
63
Avg merge
2d 4h
Merged PRs (30d)
15

Description

### Summary
Raised off the back of [I18n Stories PR](https://github.com/mi6/ic-ui-kit/pull/4087)

It was suggested that we use [CSpell's locale feature](https://cspell.org/docs/Configuration/language-settings) so that we wouldn't need to add individual words in other languages.

### 💬 Description
1. Configure our cspell.json so that we can remove the exceptional "words" in french, german, etc. (e.g. 'boissons')

### 💰 Use value
Would allow us to keep our cspell configuration a little slimmer.

I skimmed a Medium blog that suggested [a more nuanced approach to multilingual spellchecking in cspell](https://medium.com/@anticultist/setting-up-a-spell-checker-for-vs-code-8086462fce66#:~:text=the%20configuration%20confusing.-,Multilingual%20Configuration,-It%20is%20common) that could be worth reading

### 🚨 Urgency (low, medium or high)
Low

### Additional info
Tell us anything else useful to help us understand your suggestion.

Contributor guide

Open the contributing guide

Research direction

Start with cspell.json and review CSpell's locale feature documentation, along with the referenced I18n Stories PR for the current multilingual words. Configure the supported locales, remove only the now-unnecessary exceptional words such as 'boissons', and verify that spellchecking still handles the existing language content.

Written by the indexing model from the issue text.

Assessment

Domain
internationalization, tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.