diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 000000000..116d6852a --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,5 @@ +{ + "recommendations": [ + "inlang.vs-code-extension" + ] +} \ No newline at end of file diff --git a/README.md b/README.md index 30cbae720..caefa4dd1 100644 --- a/README.md +++ b/README.md @@ -208,6 +208,10 @@ https://github.com/labring/FastGPT/assets/15308462/7d3a38df-eb0e-4388-9250-2409b # +## Translations + +[![inlang status badge](https://badge.inlang.com/?url=github.com/NilsJacobsen/FastGPT)](https://fink.inlang.com/github.com/NilsJacobsen/FastGPT?ref=badge) + ## 使用协议 本仓库遵循 [FastGPT Open Source License](./LICENSE) 开源协议。 diff --git a/project.inlang/project_id b/project.inlang/project_id new file mode 100644 index 000000000..e7a4d2b38 --- /dev/null +++ b/project.inlang/project_id @@ -0,0 +1 @@ +82dc3f099ca89165c3415d2ba96d195d3a1805b98373e8eb3d814b6994e62489 \ No newline at end of file diff --git a/project.inlang/settings.json b/project.inlang/settings.json new file mode 100644 index 000000000..d8ee3e8b8 --- /dev/null +++ b/project.inlang/settings.json @@ -0,0 +1,23 @@ +{ + "$schema": "https://inlang.com/schema/project-settings", + "sourceLanguageTag": "en", + "languageTags": [ + "en", + "zh" + ], + "modules": [ + "https://cdn.jsdelivr.net/npm/@inlang/plugin-i18next@4/dist/index.js", + "https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-empty-pattern@1/dist/index.js", + "https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-identical-pattern@1/dist/index.js", + "https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-without-source@1/dist/index.js", + "https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-missing-translation@1/dist/index.js" + ], + "plugin.inlang.i18next": { + "pathPattern": { + "common": "./projects/app/public/locales/{languageTag}/common.json" + }, + "variableReferencePattern": [ + "{{", "}}" + ] + } +} \ No newline at end of file