-
Notifications
You must be signed in to change notification settings - Fork 340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(site): Add guideline for localization #3776
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3776 +/- ##
==========================================
+ Coverage 75.86% 76.96% +1.09%
==========================================
Files 470 476 +6
Lines 37301 29039 -8262
==========================================
- Hits 28299 22349 -5950
+ Misses 7071 4749 -2322
- Partials 1931 1941 +10 ☔ View full report in Codecov by Sentry. |
@@ -10,13 +10,15 @@ weight: 50 | |||
## Localisation Guidlines |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## Localisation Guidlines | |
## Localisation Guidelines |
TBD | ||
|
||
### Tests | ||
```kopiaUI``` features different tests to prevent situations where translations become obsolet and or unused. The tests check for keys with empty or null values and that keys exist in all provided translation files. The tests will fail if translation files contain empty keys or if keys are not declared in all files. Additionally, the test extracts the currently used translation keys within the code to check if all keys are used at least once. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
```kopiaUI``` features different tests to prevent situations where translations become obsolet and or unused. The tests check for keys with empty or null values and that keys exist in all provided translation files. The tests will fail if translation files contain empty keys or if keys are not declared in all files. Additionally, the test extracts the currently used translation keys within the code to check if all keys are used at least once. | |
```kopiaUI``` features different tests to prevent situations where translations become obsolete and or unused. The tests check for keys with empty or null values and that keys exist in all provided translation files. The tests will fail if translation files contain empty keys or if keys are not declared in all files. Additionally, the test extracts the currently used translation keys within the code to check if all keys are used at least once. |
Hi,
this PR adds the ability to support localisation in kopia-UI. The PR contains the following changes:
This PR has a dependency to kopia/htmlui#241
Feedback is welcomed.