feat: Add inlang CLI and VS Code extension for i18n tooling and adjust locale import path.
This commit is contained in:
5
.vscode/extensions.json
vendored
Normal file
5
.vscode/extensions.json
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"recommendations": [
|
||||
"inlang.vs-code-extension"
|
||||
]
|
||||
}
|
||||
@@ -10,7 +10,8 @@
|
||||
"start": "node --import ./.output/server/instrument.server.mjs .output/server/index.mjs",
|
||||
"format": "biome format",
|
||||
"lint": "biome lint",
|
||||
"check": "biome check"
|
||||
"check": "biome check",
|
||||
"machine-translate": "inlang machine translate --project project.inlang"
|
||||
},
|
||||
"dependencies": {
|
||||
"@heroui/react": "^3.0.0-beta.8",
|
||||
@@ -48,6 +49,7 @@
|
||||
"typescript": "^5.9.3",
|
||||
"vite": "^7.3.1",
|
||||
"vite-tsconfig-paths": "^6.1.1",
|
||||
"vitest": "^3.2.4"
|
||||
"vitest": "^3.2.4",
|
||||
"@inlang/cli": "^3.0.0"
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,10 @@
|
||||
{
|
||||
"$schema": "https://inlang.com/schema/project-settings",
|
||||
"baseLocale": "en",
|
||||
"locales": ["en", "de"],
|
||||
"locales": [
|
||||
"en",
|
||||
"de"
|
||||
],
|
||||
"modules": [
|
||||
"https://cdn.jsdelivr.net/npm/@inlang/plugin-message-format@4/dist/index.js",
|
||||
"https://cdn.jsdelivr.net/npm/@inlang/plugin-m-function-matcher@2/dist/index.js"
|
||||
|
||||
@@ -5,7 +5,7 @@ import {
|
||||
Scripts
|
||||
} from "@tanstack/react-router"
|
||||
import { Devtools } from "@/integrations/devtools"
|
||||
import { getLocale } from "@/paraglide/runtime"
|
||||
import { getLocale } from "@/integrations/paraglide/runtime"
|
||||
import appCss from "@/styles/globals.css?url"
|
||||
import Header from "../components/Header"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user