Begin Nepali localization - #1205
Draft
AJT14-cmd wants to merge 2 commits into
Draft
Conversation
amyjko
added a commit
that referenced
this pull request
Jun 29, 2026
First full Claude translation of Nepali: locale strings, complete + quick tutorials, 27 how-tos, and CLDR-derived emoji names. Validated: $?=0 across locale and both tutorials, no marker accumulation. Glossary words and embedded how-to code came back in English (Claude's tendency for Nepali technical vocabulary, not a pipeline defect) and are left for the human Nepali translator to refine. (#1204, #1205) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
tiaL-ops
pushed a commit
to tiaL-ops/wordplay
that referenced
this pull request
Jul 2, 2026
…etadata
Make emoji generation part of the translation run, and remove the one-off
LocaleToCLDR map by deriving CLDR annotation codes from canonical language
metadata.
- start.ts now generates a locale's {locale}-emojis.json in-process during a
translate/override run (best-effort; a CLDR/network failure warns and the run
continues), so a new/updated locale gets emojis without a separate step.
- Convert scripts/generate-emojis.mjs → src/util/verify-locales/generateEmojis.ts:
a typed module that imports SupportedLocales + getCLDRCandidates directly
(no regex-parsing, no hardcoded map), writes via writeFormatted (Prettier-clean,
write-if-changed), and exports generateEmojisForLocale + a CLI entry.
- LanguageCode.ts: add `cldr` (base override, tl→fil) and `cldrByRegion` (script
overrides, zh→zh_Hant for TW/HK/MO) to LanguageMetadata, plus getCLDRCandidates
that derives the per-locale candidate list. This also fixes locales the hand
map had missed/mistyped (sv-SE, bn-BD, id-ID, ro-RO, pt-PT) which silently fell
back to English emoji names.
- Enable Nepali (ne-NP) in DraftLocales (wordplaydev#1204/wordplaydev#1205).
- npm: locales-emojis → tsx; delete the old .mjs.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
Begins the Nepali (
ne-NP) localization. Thetermandtokensections are manually translated. Other entries retain their
$?English fallback text and still require translation and review.
Related issues
Verification
ne-NP.jsonChecklist
termandtokenin ne-NP.json