Skip to content

feat: add i18n support (closes #16)#17

Closed
onmax wants to merge 1 commit intomainfrom
feat/i18n-support
Closed

feat: add i18n support (closes #16)#17
onmax wants to merge 1 commit intomainfrom
feat/i18n-support

Conversation

@onmax
Copy link
Copy Markdown
Member

@onmax onmax commented Oct 3, 2025

Summary

  • Configured @nuxtjs/i18n module with 5 locales (en, es, de, fr, pt)
  • Implemented query parameter support for locale switching (?locale=xx)
  • Uses cookie-based locale persistence (i18n default)
  • Added unit tests for i18n functionality
  • Added test step to CI pipeline

Features

  • 5 locales: English, Spanish, German, French, Portuguese
  • Query param support: Can set locale via ?locale=[en|es|de|fr|pt]
  • Cookie persistence: Locale preference saved automatically via @nuxtjs/i18n
  • Unit tests: Verify i18n translations work correctly

Test Plan

  • Dev server starts without errors
  • Query param ?locale=es changes to Spanish
  • Locale persists after page reload (via cookies)
  • Unit tests pass
  • CI pipeline passes (lint, typecheck, test)

@nuxthub-admin
Copy link
Copy Markdown
Contributor

nuxthub-admin bot commented Oct 3, 2025

❌ Deployment failed crypto-map-next

Failed to deploy crypto-map-next 74da13b to preview

📋 View deployment logs

@onmax
Copy link
Copy Markdown
Member Author

onmax commented Oct 3, 2025

Merged into #19

@onmax onmax closed this Oct 3, 2025
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.

1 participant