Skip to content

Commit 2ceb254

Browse files
authored
feat(small): add Fink localization editor (#1627)(@NilsJacobsen)
* feat: add localization editor * feat: add translation setion in CONTRIBUTING.md * Update settings.json
1 parent da41232 commit 2ceb254

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed

CONTRIBUTING.md

+6
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ When a pull request contains a lot of commits without proper messages, we usuall
3939
When creating an issue please try to describe your problem with as many details as possible. If your issue is a complex one and would require us to reproduce this to respond, a test repository or a code sample which would allow us to reproduce your problem would be ideal.
4040
If possible, try to create issues by using our issues templates.
4141

42+
### Translations
43+
44+
You can contribute translations via the [fink localization editor](https://fink.inlang.com/github.com/SoftwareBrothers/adminjs).
45+
46+
[![inlang status badge](https://badge.inlang.com/?url=github.com/SoftwareBrothers/adminjs)](https://fink.inlang.com/github.com/SoftwareBrothers/adminjs?ref=badge)
47+
4248
## Developing locally
4349

4450
### Basic example

project.inlang/project_id

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ed92cfe9d9d26d48639c434e4f5ddd645dfbd5ecaac14329f8b042b5546fd3a9

project.inlang/settings.json

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"$schema": "https://inlang.com/schema/project-settings",
3+
"sourceLanguageTag": "en",
4+
"languageTags": [
5+
"en", "es", "it", "ja", "pl", "pt-BR", "ua", "zh-CN"
6+
],
7+
"modules": [
8+
"https://cdn.jsdelivr.net/npm/@inlang/plugin-i18next@4/dist/index.js",
9+
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-empty-pattern@latest/dist/index.js",
10+
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-identical-pattern@latest/dist/index.js",
11+
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-missing-translation@latest/dist/index.js",
12+
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-without-source@latest/dist/index.js"
13+
],
14+
"plugin.inlang.i18next": {
15+
"pathPattern": "./src/locale/{languageTag}/translation.json"
16+
}
17+
}
18+

0 commit comments

Comments
 (0)