IDE Extension won't work #1886
Answered
by
TajAlasfiyaa
TajAlasfiyaa
asked this question in
[inlang SDK] General
-
I'm trying to make the extension work for but it didn't. version
this my project.inlang/settings.json {
"$schema": "https://inlang.com/schema/project-settings",
"sourceLanguageTag": "en",
"languageTags": [
"en",
"de"
],
"modules": [
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-empty-pattern@latest/dist/index.js",
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-identical-pattern@latest/dist/index.js",
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-missing-translation@latest/dist/index.js",
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-without-source@latest/dist/index.js",
"https://cdn.jsdelivr.net/npm/@inlang/plugin-message-format@latest/dist/index.js",
"https://cdn.jsdelivr.net/npm/@inlang/plugin-m-function-matcher@latest/dist/index.js"
],
"plugin.inlang.messageFormat": {
"pathPattern": "./messages/{languageTag}.json"
}
}
package.json {
"name": "@inlang/paraglide-js-adapter-next-example-app",
"version": "0.1.0",
"private": true,
"scripts": {
"_dev": "paraglide-js compile --project ./project.inlang --watch & next dev",
"build": "paraglide-js compile --project ./project.inlang && next build",
"preview": "next start"
},
"dependencies": {
"@formatjs/intl-localematcher": "^0.5.2",
"@inlang/paraglide-js": "1.0.0-prerelease.18",
"negotiator": "^0.6.3",
"next": "13.5.4",
"next-i18n-router": "^5.0.2",
"next-intl": "^3.3.2",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/node": "^20.10.4",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.17",
"typescript": "^5.3.3"
}
} |
Beta Was this translation helpful? Give feedback.
Answered by
TajAlasfiyaa
Dec 15, 2023
Replies: 1 comment 1 reply
-
@TajAlasfiyaa Are you using Windows? We are currently experience issues with Windows. Fix is underway: #1869 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found the fix on github issue
I copy project.inlang/setting.json to project.inlang.json and restart vscode and it work