Skip to content

feat(i18n): add Lunaria for tracking#242

Merged
danielroe merged 3 commits intonpmx-dev:mainfrom
yanthomasdev:lunaria
Jan 28, 2026
Merged

feat(i18n): add Lunaria for tracking#242
danielroe merged 3 commits intonpmx-dev:mainfrom
yanthomasdev:lunaria

Conversation

@yanthomasdev
Copy link
Copy Markdown
Contributor

@yanthomasdev yanthomasdev commented Jan 28, 2026

This PR adds https://lunaria.dev (v1 prerelease) to add translation tracking with key completion support. It also generates a dashboard (its the ejected pre-v1 version, since v1 still doesn't have the new dashboard implemented yet) you can build with build:lunaria and access in dist/lunaria/index.html.

I've also added the Lunaria GitHub Action, that will comment on any PRs modifying/adding/removing tracked files (i18n/locales/*.json) with a summary of changes and warn if the translation/source was changed in another PR and it is now outdated, missing keys, etc.

Here's how it looks:
image

TODO:

  • Decide how we will deploy the dashboard - we can inject inside the Nuxt app by changing its output directory, rebuild the dashboard in Nuxt/Vue, or deploy separately and sync with the app's deployment (e.g. making it https://i18n.npmx.dev).
  • Add new languages that are added/update Lunaria config with any languages or content structure that are done before this PR is merged.

Here's an example of the final dashboard:
image

@vercel
Copy link
Copy Markdown

vercel Bot commented Jan 28, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
docs.npmx.dev Ready Ready Preview, Comment Jan 28, 2026 4:12pm
npmx.dev Ready Ready Preview, Comment Jan 28, 2026 4:12pm

Request Review

@danielroe danielroe added this pull request to the merge queue Jan 28, 2026
@danielroe
Copy link
Copy Markdown
Member

let's gooooo! 🚀

Merged via the queue into npmx-dev:main with commit 804d738 Jan 28, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants