Skip to content

Conversation

@Lissy93
Copy link
Owner

@Lissy93 Lissy93 commented Oct 26, 2025

This PR will implement internationalization.
As requested in #11 and #24.

It's still a work-in-progress, and there's a fair amount left to do. So, stay-tuned for updates.

@netlify
Copy link

netlify bot commented Oct 26, 2025

Deploy Preview for networking-toolbox ready!

Name Link
🔨 Latest commit b8b5cd1
🔍 Latest deploy log https://app.netlify.com/projects/networking-toolbox/deploys/68ff4005810c7500087ecde5
😎 Deploy Preview https://deploy-preview-25--networking-toolbox.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@Lissy93 Lissy93 requested a review from Copilot October 26, 2025 18:56
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements multi-language support for the application, addressing feature requests #11 and #24. The implementation adds a comprehensive i18n system with English and German translations, language detection, and translation management infrastructure.

Key Changes

  • Custom lightweight i18n system with translation loading and interpolation
  • Language detection from localStorage, URL path, browser settings, or default
  • English (en) and German (de) translation files for tools, settings, navigation, diagnostics, and common UI elements
  • Translation validation scripts and NPM commands for checking translations

Reviewed Changes

Copilot reviewed 75 out of 341 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/lib/i18n/index.ts Core i18n engine with translation lookup, interpolation, and pluralization
src/lib/i18n/lang-detector.ts Language detection logic with fallback chain (localStorage → URL → browser → default)
src/lib/i18n/supported-languages.ts Language configuration including ISO codes, native names, and flag emojis
src/lib/i18n/translations/en/*.json English translation files for all UI sections
src/lib/i18n/translations/de/*.json German translation files mirroring English structure
src/lib/components/tools/*.svelte Component updates to use translation functions
package.json Added i18n validation scripts and tsx dependency
playwright.config.ts Increased webServer timeout from 120s to 180s

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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