Skip to content

feat(cli): support JSON messages in <i18n> block of .vue files#518

Merged
mathio merged 1 commit intomainfrom
vue
Mar 6, 2025
Merged

feat(cli): support JSON messages in <i18n> block of .vue files#518
mathio merged 1 commit intomainfrom
vue

Conversation

@mathio
Copy link
Copy Markdown
Contributor

@mathio mathio commented Mar 5, 2025

New bucket type vue-json to translation message from Vue I18n.

Running locally:

  1. initialize
node ../lingo.dev/packages/cli/bin/cli.mjs init --source en --targets es --bucket vue-json
  1. translate
node ../lingo.dev/packages/cli/bin/cli.mjs i18n

@mathio mathio force-pushed the vue branch 2 times, most recently from 35ba0af to a9be220 Compare March 5, 2025 20:15
@maxprilutskiy
Copy link
Copy Markdown
Contributor

LGTM!

@mathio mathio merged commit 444a731 into main Mar 6, 2025
2 checks passed
@mathio mathio deleted the vue branch March 6, 2025 09:34
mainstar123 pushed a commit to mainstar123/lingo.dev that referenced this pull request Jul 7, 2025
17prateek12 pushed a commit to 17prateek12/lingo.dev that referenced this pull request Jan 23, 2026
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