docs: document Weblate translation workflows (#1643)

This commit is contained in:
Zach
2026-06-04 21:22:18 -04:00
committed by GitHub
parent 3971ea0555
commit d929cd2df6
2 changed files with 25 additions and 2 deletions
+21
View File
@@ -10,6 +10,7 @@ code.
- [First-Time Contributors](#first-time-contributors)
- [Quick Guide](#quick-guide)
- [I'd like to contribute code](#id-like-to-contribute-code)
- [I'd like to contribute translations](#id-like-to-contribute-translations)
- [Something isn't working](#something-isnt-working)
- [I have an idea or feature request](#i-have-an-idea-or-feature-request)
- [I've implemented something and want to submit it](#ive-implemented-something-and-want-to-submit-it)
@@ -71,6 +72,26 @@ friendly to newcomers are tagged [`good first issue`][good-first-issue].
[good-first-issue]: https://github.com/grimmory-tools/grimmory/issues?q=is%3Aissue%20is%3Aopen%20label%3A%22good+first+issue%22
### I'd like to contribute translations
Please use the [Grimmory Weblate project](https://hosted.weblate.org/engage/grimmory/) for
non-English localization work. Weblate tracks `develop`, shows missing and outdated strings, and
sends translation updates back to the repository as reviewed pull requests.
When translating, preserve placeholders exactly, such as `{{ name }}`, `{{ count }}`, and
`{{ provider }}`. Do not translate placeholder names. Keep HTML tags intact when they appear in a
source string, and translate naturally for your language rather than copying English phrasing word
for word.
Do not hand-edit non-English translations in regular code pull requests unless explicitly requested
to do so by a maintainer. Do not pre-fill other languages' localizations with English. Empty target
strings make it easier to surface those keys for translators than copied English.
Developers should add and change source strings in `frontend/src/i18n/en/*.json`. Each JSON file is
a Transloco domain and maps to a Weblate component. When adding a new source-string domain, add the
English JSON file, add matching empty JSON files for each non-English locale, then import/export the
domain from each locale `index.ts`.
### Something isn't working
Search [existing discussions][discussions] and [closed issues][closed-issues] first. Your issue
+4 -2
View File
@@ -12,10 +12,11 @@
[![Release](https://img.shields.io/github/v/release/grimmory-tools/grimmory?color=818CF8&style=flat-square&logo=github)](https://github.com/grimmory-tools/grimmory/releases)
[![License](https://img.shields.io/github/license/grimmory-tools/grimmory?color=fab005&style=flat-square)](LICENSE)
<a href="https://hosted.weblate.org/engage/grimmory/"><img src="https://hosted.weblate.org/widget/grimmory/svg-badge.svg" alt="Translation status"></a>
[![Docker Pulls](https://img.shields.io/docker/pulls/grimmory/grimmory?color=2496ED&style=flat-square&logo=docker&logoColor=white)](https://hub.docker.com/r/grimmory/grimmory)
[![Discord](https://img.shields.io/badge/Discord-5865F2?style=flat-square&logo=discord&logoColor=white)](https://discord.gg/9YJ7HB4n8T)
[Documentation](https://grimmory.org/docs) · [Quick Start](#quick-start) · [Discord](https://discord.gg/9YJ7HB4n8T) · [Releases](https://github.com/grimmory-tools/grimmory/releases)
[Documentation](https://grimmory.org/docs) · [Quick Start](#quick-start) · [Translations](https://hosted.weblate.org/engage/grimmory/) · [Discord](https://discord.gg/9YJ7HB4n8T) · [Releases](https://github.com/grimmory-tools/grimmory/releases)
<!-- ![Grimmory Demo](assets/demo.gif) -->
@@ -181,7 +182,8 @@ Additional deployment examples:
## Developer Surfaces
Contributor workflow, PR policy, and release semantics live in [CONTRIBUTING.md](CONTRIBUTING.md).
Contributor workflow, PR policy, and release semantics live in [CONTRIBUTING.md](CONTRIBUTING.md).
Non-English translation contributions are managed through [Weblate](https://hosted.weblate.org/engage/grimmory/).
General purpose development guidelines live in [DEVELOPMENT.md](DEVELOPMENT.md). Component-specific implementation guidance lives in: