You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -138,6 +138,36 @@ $ npm install
138
138
GitHub tokens allow the extension to make authenticated requests, increasing your API rate limit and enabling access to private repositories if you grant those permissions.
139
139
140
140
141
+
## Adding a New Language
142
+
143
+
You can add a new language to Scrum Helper for your own use, or contribute it to the project.
144
+
145
+
### Using a New Language Locally
146
+
147
+
1.**Create a Locale Folder**
148
+
- Go to `src/_locales`.
149
+
- Create a new folder named with the [ISO language code](https://developer.chrome.com/docs/extensions/reference/i18n/#localeTable) (e.g., `it` for Italian, `fr` for French).
150
+
151
+
2.**Add a `messages.json` File**
152
+
- Copy the `messages.json` from `src/_locales/en/messages.json` or any other language as a template.
153
+
- Translate only the `"message"` values into your language.
154
+
**Do not translate the extension name ("Scrum Helper") or the footer ("Made with ❤️ by ...").**
155
+
156
+
3.**Test the Extension**
157
+
- Reload the extension in your browser.
158
+
- Change your browser or system language to your new locale (see your browser’s language settings).
159
+
- The extension will use your translation automatically if your language is set.
160
+
161
+
> **You do not need to make a pull request to use your language locally.**
162
+
163
+
### Contributing Your Translation
164
+
165
+
If you want to share your translation with others:
166
+
- Make a pull request with your new locale folder and `messages.json` file.
167
+
- We recommend double-checking your translations for accuracy and clarity.
168
+
169
+
For more details, see the [Chrome i18n documentation](https://developer.chrome.com/docs/extensions/reference/i18n/).
170
+
141
171
## About contributing
142
172
143
173
- Follow the Issues and PRs templates as far as possible.
"appDescription": { "message": "Berichten Sie über Ihren Entwicklungsfortschritt, indem Sie Ihre Git-Aktivität für einen ausgewählten Zeitraum automatisch abrufen" },
"tokenRequiredWarning": { "message": "Für die Repository-Filterung ist ein GitHub-Token erforderlich. Bitte fügen Sie einen in den Einstellungen hinzu." },
39
+
"repoSearchPlaceholder": { "message": "Repository zum Hinzufügen suchen..." },
40
+
"repoPlaceholder": { "message": "Keine Repositories ausgewählt (alle werden einbezogen)" },
"extensionDisabledMessage": { "message": "Erweiterung ist deaktiviert. Aktivieren Sie sie in den Einstellungen, um Scrum-Berichte zu erstellen." },
63
+
"notePoint1": { "message": "Die abgerufenen PRs basieren auf der letzten Überprüfung durch einen beliebigen Beitragenden. Wenn Sie einen PR vor 10 Tagen überprüft haben und jemand anderes ihn vor 2 Tagen, wird er trotzdem in Ihrer Aktivität der letzten Woche angezeigt." },
64
+
"notePoint2": { "message": "Bitte beachten Sie, dass es im generierten Scrum zu Abweichungen kommen kann. Wir empfehlen, den Bericht vor dem Teilen manuell zu überprüfen, um die Genauigkeit sicherzustellen." },
65
+
"noteSeeIssue": { "message": "Siehe dieses Issue" }
"description": "Message shown in the report area after the cache is cleared."
237
+
},
238
+
"cacheClearedButton": {
239
+
"message": "Cache Cleared!",
240
+
"description": "Text on the refresh button after the cache is cleared."
241
+
},
242
+
"extensionDisabledMessage": {
243
+
"message": "Extension is disabled. Enable it from the options to generate scrum reports.",
244
+
"description": "Message shown when the extension is disabled."
245
+
},
246
+
"notePoint1": {
247
+
"message": "The PRs fetched are based on the most recent review by any contributor. If you reviewed a PR 10 days ago and someone else reviewed it 2 days ago, it will still appear in your activity for the past week.",
248
+
"description": "First point in the notes section."
249
+
},
250
+
"notePoint2": {
251
+
"message": "Please note that some discrepancies may occur in the generated SCRUM. We recommend manually reviewing and editing the report to ensure accuracy before sharing.",
252
+
"description": "Second point in the notes section."
253
+
},
254
+
"noteSeeIssue": {
255
+
"message": "See this issue",
256
+
"description": "Link text for the GitHub issue in the notes."
0 commit comments