Skip to content

Conversation

Copy link

Copilot AI commented Nov 26, 2025

Adds internationalization support to the frontend with English and Polish translations for all user-facing strings.

Changes

Translation Files

  • Added 210 translation keys to messages/en.json and messages/pl.json
  • Fixed project.inlang/settings.json path pattern (./messages/../messages/)

Components Updated

Core auth/navigation:

  • +error.svelte, login/+page.svelte, register/+page.svelte
  • user-menu.svelte, settings-dialog.svelte, navigation.svelte

Map/event components:

  • fab-menu.svelte, event-preview-drawer.svelte
  • login-alert-dialog.svelte, chat-input.svelte

Usage

<script lang="ts">
  import * as m from "$lib/paraglide/messages";
</script>

<h1>{m.sign_in_title()}</h1>
<Button>{m.create_an_event()}</Button>

Translation keys follow snake_case naming (e.g., error_page_not_found, create_account, your_communities).

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • cdn.jsdelivr.net
    • Triggering command: /usr/local/bin/node node /home/REDACTED/work/Cartesian/Cartesian/Cartesian.Frontend/node_modules/.bin/../vite/bin/vite.js build (dns block)
    • Triggering command: /usr/local/bin/node node /home/REDACTED/work/Cartesian/Cartesian/Cartesian.Frontend/node_modules/.bin/../@inlang/paraglide-js/bin/run.js compile --project ./project.inlang --outdir ./src/lib/paraglide (dns block)
  • eu.posthog.com
    • Triggering command: /usr/local/bin/node node /home/REDACTED/work/Cartesian/Cartesian/Cartesian.Frontend/node_modules/.bin/../vite/bin/vite.js build (dns block)
    • Triggering command: /usr/local/bin/node node /home/REDACTED/work/Cartesian/Cartesian/Cartesian.Frontend/node_modules/.bin/../@inlang/paraglide-js/bin/run.js compile --project ./project.inlang --outdir ./src/lib/paraglide (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Find all strings in the frontend code and add them to the translations in inlang. Then make sure the frontend elements use the strings. Also, follow the instructions in .github/instructions/AGENTS.instructions.md


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Nov 26, 2025

Deploying docs-cartesian with  Cloudflare Pages  Cloudflare Pages

Latest commit: e20f12a
Status: ✅  Deploy successful!
Preview URL: https://41e7cc36.cartesian-2od.pages.dev
Branch Preview URL: https://copilot-add-frontend-string.cartesian-2od.pages.dev

View logs

Copilot AI changed the title [WIP] Add strings from frontend to translations in inlang Add frontend i18n support using inlang/paraglide Nov 26, 2025
Copilot AI requested a review from mufarodev November 26, 2025 11:45
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