Requirements
To add a new language, you need two word lists:- Guessing word list - A curated collection of common 5-letter words that will be selected as the target word
- Accepted word list - A comprehensive list of all valid 5-letter words that players can guess (usually much longer)
Preparing the Word Lists
Handling Accented Characters
If your language contains accented characters (like “é”, “ç”, “ñ”, etc.), replace them with non-accented variants:- é → e
- ç → c
- ñ → n
- ü → u
- å → a
Word List Format
Arrange both word lists in this JavaScript array format:Adding the Language
Add to wordList array
Find the
wordList array declaration. Add your guessing word list just before the ]; closing line:Add to accepted array
Find the
accepted array declaration. Add your comprehensive word list just before the ]; closing line:Update languageList in main.js
Open
main.js and find the languageList array at line 15. Add your language name to the end:Add credits
In
main.js, find the showCredits() function around line 531. Add credit for your word list source:Special Character Support
If your language requires special characters (like Swedish’s Å, Ä, Ö), you’ll need to:- Update the keyboard initialization in
initGame()(main.js:72-77):
-
Update the keyboard layout in
updateKeyboard()(main.js:361-374) to add the special keys to appropriate rows. -
Update the input validation regex in
handleKeyInput()(main.js:138) to accept your special characters:
Finding Word Lists
Check these resources for word lists in different languages:- Hugo0’s Wordle repo - Multiple language word lists
- Katherine Oelsner’s word-master - German words
- Sean Patlan’s wordle-words - English words
- GitHub search for “wordle [language]” for other languages
Word List Guidelines
- Guessing list size: 2,000-3,000 words is ideal
- Accepted list size: 5,000-15,000 words recommended
- Avoid: Proper nouns, abbreviations, vulgar words
- Include: Common everyday words, verb forms, plurals
- Format: All lowercase, no spaces or punctuation