feat(i18n): add Weblate component config and translation docs (#1041)
Co-authored-by: M57 <hy4ri@users.noreply.github.com>
This commit is contained in:
1 parent
2d0b6ae1a9
commit
4668d482ef
3 files changed
+28
No files matched your search
@@ -0,0 +1,14 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"name": "Hermes Mobile",
|
||||||
|
"slug": "hermes-mobile",
|
||||||
|
"project": "hermes-mobile",
|
||||||
|
"vcs": "git",
|
||||||
|
"branch": "dev",
|
||||||
|
"filemask": "app/src/main/res/values-*/strings.xml",
|
||||||
|
"template": "app/src/main/res/values/strings.xml",
|
||||||
|
"file_format": "android",
|
||||||
|
"new_base": "app/src/main/res/values/strings.xml",
|
||||||
|
"language_code_style": "android"
|
||||||
|
}
|
||||||
|
]
|
||||||
@@ -67,6 +67,16 @@ If you use AI coding tools (including agents) to contribute:
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## Translations
|
||||||
|
|
||||||
|
Translations for Hermes Mobile are managed through [Hosted Weblate](https://hosted.weblate.org/projects/hermes-mobile/hermes-mobile/).
|
||||||
|
|
||||||
|
- Source strings are located in `app/src/main/res/values/strings.xml`.
|
||||||
|
- Localized strings are stored in `app/src/main/res/values-<locale>/strings.xml`.
|
||||||
|
- You can contribute translations directly on Weblate without modifying code or opening manual PRs.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## Code Style
|
## Code Style
|
||||||
|
|
||||||
We enforce Kotlin coding conventions and Jetpack Compose best practices.
|
We enforce Kotlin coding conventions and Jetpack Compose best practices.
|
||||||
|
|||||||
@@ -159,6 +159,10 @@ app/src/main/java/com/m57/hermescontrol/
|
|||||||
|
|
||||||
Contributions are welcome! Please read [CONTRIBUTING.md](CONTRIBUTING.md) for our branch workflow, code style guidelines, and PR checklist.
|
Contributions are welcome! Please read [CONTRIBUTING.md](CONTRIBUTING.md) for our branch workflow, code style guidelines, and PR checklist.
|
||||||
|
|
||||||
|
### Translations
|
||||||
|
|
||||||
|
Help translate Hermes Mobile into your language on [Hosted Weblate](https://hosted.weblate.org/projects/hermes-mobile/hermes-mobile/)!
|
||||||
|
|
||||||
For developer-specific details, code conventions, and project architecture notes, refer to [AGENTS.md](AGENTS.md).
|
For developer-specific details, code conventions, and project architecture notes, refer to [AGENTS.md](AGENTS.md).
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
Reference in new issue
Block a user