mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-06 09:13:19 +03:00
[PR #349] [MERGED] 🚀 Feature: Translation #857
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pocket-id/pocket-id/pull/349
Author: @jonasclaes
Created: 3/16/2025
Status: ✅ Merged
Merged: 3/20/2025
Merged by: @stonith404
Base:
main← Head:main📝 Commits (10+)
3f92d37chore: update frontend version to 0.40.1 in package-lock.jsona029e92feat: add inlang configuration and support for multilingual messages431d2d3feat: add VSCode extension recommendations for inlang0324ba6fix: reorder plugins in Vite configuration for proper initialization7a0616bfeat: add multilingual support with English and Dutch translations in header avatard813dbdfeat: translate components6d6926cfeat: translate utilsd4d94f5feat: translate most routes except for admin44fe1defeat: translate api keys6c53572feat: translate application configuration📊 Changes
83 files changed (+1567 additions, -453 deletions)
View changed files
➕
.vscode/extensions.json(+5 -0)📝
backend/internal/dto/user_dto.go(+8 -6)📝
backend/internal/model/user.go(+1 -0)📝
backend/internal/service/user_service.go(+2 -0)➕
backend/resources/migrations/postgres/20250320171311_user_locale.down.sql(+1 -0)➕
backend/resources/migrations/postgres/20250320171311_user_locale.up.sql(+1 -0)➕
backend/resources/migrations/sqlite/20250320171311_user_locale.down.sql(+1 -0)➕
backend/resources/migrations/sqlite/20250320171311_user_locale.up.sql(+1 -0)➕
frontend/messages/en.json(+318 -0)➕
frontend/messages/nl.json(+313 -0)📝
frontend/package-lock.json(+286 -2)📝
frontend/package.json(+1 -0)➕
frontend/project.inlang/.gitignore(+1 -0)➕
frontend/project.inlang/project_id(+1 -0)➕
frontend/project.inlang/settings.json(+15 -0)📝
frontend/src/app.html(+1 -1)📝
frontend/src/hooks.server.ts(+14 -1)📝
frontend/src/lib/components/advanced-table.svelte(+4 -3)📝
frontend/src/lib/components/collapsible-card.svelte(+2 -1)📝
frontend/src/lib/components/confirm-dialog/index.ts(+2 -1)...and 63 more files
📄 Description
This PR will add translation support using Paraglide v2 (beta).
The order in which a first language is chosen is as follows: (configurable in vite.config)
project.inlang/settings.json, in this case,en)I've currently added English and Dutch (I'm a native Dutch speaker)
Leaving this PR in draft untill I've got it translated. :D
Fixes: https://github.com/pocket-id/pocket-id/issues/174
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.