-
Notifications
You must be signed in to change notification settings - Fork 125
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
Add inlang
to make the contribution of translations easier
#478
Conversation
inlang
to make the contribution of translations easier
Codecov Report
@@ Coverage Diff @@
## master #478 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 15 15
Lines 1881 1881
=========================================
Hits 1881 1881 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
@NiklasBuchfink Thank you for the extremely well written PR. A few thoughts:
|
@dermotduffy Thanks for sharing your thoughts:
|
Thank you @NiklasBuchfink ! If you were up to do similar on the card (dev branch) that would be really appreciated. |
Let me know what changes you request for merging this PR.
Description
This pull request adds the possibility for contributors and translators to manage translations in a UI instead of files with no overhead for the maintainers.
To get a UI for translations contained in this repository, an inlang.config.js has been created at the root of the repository. Furthermore, I added the few missing translations. If you want, I can add a small i18n section to the documentation on the Contributing page.
Preview
The changes of this PR and a live instance of the editor can be previewed with the following link https://inlang.com/editor/github.com/NiklasBuchfink/frigate-hass-integration.
Note: This link should be changed to point to blakeblackshear instead of NiklasBuchfink after this PR has been merged.
Badge
Also, a dynamic badge can be added to the documentation to show the current state of translations. It will work after the configuration is merged. You can see a demo badge rendered based on my fork.
Limitations
Certain actions are slow
Inlang is running entirely on git, giving tremendous CI/CD and contribution power to localization (and potentially other verticals -> the next git). That means that the whole frigate-hass-integration repo is cloned into the browser which makes certain actions like the initial load and pushing changes slow. Those limitations will be fixed with future releases and require no input from frigate-hass-integration.
Preview the messages on https://inlang.com/editor/github.com/NiklasBuchfink/frigate-hass-integration.