Skip to content

Conversation

IDisposable
Copy link
Contributor

No description provided.

@IDisposable IDisposable force-pushed the feat/add-localization branch 3 times, most recently from cabdfe4 to d81a497 Compare October 2, 2025 02:00
@IDisposable IDisposable mentioned this pull request Oct 2, 2025
@adamshiervani adamshiervani added this to the 0.5.1 milestone Oct 3, 2025
@adamshiervani adamshiervani moved this to In progress in JetKVM Oct 3, 2025
@IDisposable IDisposable force-pushed the feat/add-localization branch 4 times, most recently from f383397 to cd9a55d Compare October 4, 2025 00:28
@IDisposable IDisposable marked this pull request as ready for review October 4, 2025 05:46
@IDisposable IDisposable requested a review from Copilot October 4, 2025 05:46
Copy link
Contributor

@Copilot 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 introduces internationalization (i18n) support to the JetKVM UI using the inlang paraglide-js localization framework. The implementation enables multilingual support with translations for 9 languages and includes a comprehensive setup for managing localized strings throughout the React frontend.

  • Added inlang paraglide-js as the localization framework with configuration for 9 languages (en, da, de, es, fr, it, nb, sv, zh)
  • Replaced hardcoded UI strings with localized message functions across multiple components
  • Updated build configuration and TypeScript paths to support the new localization structure

Reviewed Changes

Copilot reviewed 30 out of 31 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
ui/vite.config.ts Added paraglide Vite plugin configuration for localization build integration
ui/tsconfig.json Updated with new path aliases and compiler options for localization support
ui/tsconfig.node.json Simplified configuration by removing redundant options
ui/package.json Added inlang dependencies and updated scripts to include localization compilation
ui/src/ components and routes Replaced hardcoded strings with localized message functions
ui/localization/ Added complete localization setup with message files for 9 languages
ui/index.html Minor formatting and path corrections
ui/eslint.config.cjs Updated import resolution mapping for new path aliases
Files not reviewed (1)
  • ui/package-lock.json: Language not supported

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@IDisposable IDisposable force-pushed the feat/add-localization branch from cd9a55d to 7ea1942 Compare October 7, 2025 17:14
{
"$schema": "https://inlang.com/schema/project-settings",
"baseLocale": "en",
"sourceLanguageTag": "en",
Copy link
Contributor Author

@IDisposable IDisposable Oct 7, 2025

Choose a reason for hiding this comment

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

This duplication is because the CLI is a bit behind the extension Sherlock, so both are needed. PR being submitted to the inlang project

Localize the extension popovers.
Update package and fix tsconfig.json
Expand development directory guide
Move messages under localization
@IDisposable IDisposable force-pushed the feat/add-localization branch from 7ea1942 to 7f3f869 Compare October 7, 2025 17:34
@IDisposable IDisposable force-pushed the feat/add-localization branch from 9aa9b44 to 985b53c Compare October 7, 2025 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In progress
Development

Successfully merging this pull request may close these issues.

3 participants