mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-10-03 09:04:32 -04:00
97 lines
5.5 KiB
HTML
97 lines
5.5 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="et-rEE" dir="ltr">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<title>Tõlgi rakendus</title>
|
||
<link rel="stylesheet" href="../../styles/docs.css">
|
||
</head>
|
||
<body data-page="translate" data-locale="et-rEE">
|
||
<pre class="markdown-content"># Tõlgi rakendus
|
||
|
||
The app and its in-app docs are translated on Crowdin — this page shows how to contribute. Rakendus kasutab nii kasutajaliidese kui ka rakendusesisese dokumentatsiooni kogukonna tõlgete haldamiseks [Crowdinit](https://crowdin.com/).
|
||
|
||
## Mida tõlgitakse
|
||
|
||
Resource | Allika asukoht | Sõnumid |
|
||
-------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------------- |
|
||
UI strings | `core/resources/src/commonMain/composeResources/values/strings.xml` | Nupud, sildid, sõnumid ja kogu kasutajale nähtav tekst |
|
||
Kasutusjuhendi lehed | `docs/en/user/*.md` | Rakendusesisene dokumentatsioon kuvatakse jaotises Abi ja dokumentatsioon |
|
||
Fastlane metadata | `fastlane/metadata/android/en-US/` | Google Play listing title, description, and changelogs |
|
||
|
||
> ℹ️ **Note:** Developer Guide pages are English-only. Kaastöölistele suunatud koodikeskset dokumentatsiooni ei tõlgita.
|
||
|
||
## How to Contribute
|
||
|
||
1. **Külasta Crowdini projekti.** Ava [Meshtastic Android Crowdini projekt](https://crowdin.com/project/meshtastic-android) ja logi sisse või loo tasuta konto.
|
||
2. **Vali keel.** Vali olemasolev keel või taotle uut, avades [GitHubi probleemi](https://github.com/meshtastic/Meshtastic-Android/issues/new).
|
||
3. **Tõlgi stringe.** Crowdin kuvab ingliskeelse allika vasakul ja sinu tõlke paremal. Tõlki iga string ja salvesta.
|
||
4. **Review context.** Many strings include screenshots or context comments — check these to understand where the text appears in the app. A scheduled job pulls approved translations from Crowdin and opens a pull request; they ship once a maintainer merges it and a new build goes out.
|
||
|
||
> 💡 \*\*Vihje." Hoia tõlked lühikesed. UI strings often appear in buttons, chips, or narrow columns. Kui tõlge on oluliselt pikem kui ingliskeelne originaal, kaaluge lühendamist kohtades, kus tähendus jääb selgeks.
|
||
|
||
## Lisa uus keel
|
||
|
||
Kui teie keelt Crowdinis veel pole:
|
||
|
||
1. Ava probleem [GitHubis](https://github.com/meshtastic/Meshtastic-Android/issues/new) ja taotle uut lokaati.
|
||
2. Hooldaja lisab keele Crowdinile ja seadistab faili `crowdin.yml`.
|
||
3. Pärast lisamist saad kohe tõlkima hakata.
|
||
|
||
## How Translations Are Organized
|
||
|
||
The Android app uses **Compose Multiplatform resources** for all user-visible strings:
|
||
|
||
```text
|
||
core/resources/src/commonMain/composeResources/
|
||
├── values/ ← English (default)
|
||
│ └── strings.xml
|
||
├── values-de/ ← German
|
||
│ └── strings.xml
|
||
├── values-fr/ ← French
|
||
│ └── strings.xml
|
||
└── ...
|
||
```
|
||
|
||
Rakendusesisene dokumentatsioon järgib sarnast mustrit jaotises `docs/`:
|
||
|
||
```text
|
||
docs/
|
||
├── en/user/ ← English source (default)
|
||
│ ├── onboarding.md
|
||
│ └── ...
|
||
├── fr-rFR/user/ ← French (France)
|
||
│ ├── onboarding.md
|
||
│ └── ...
|
||
├── de-rDE/user/ ← German (Germany)
|
||
│ └── ...
|
||
└── ...
|
||
```
|
||
|
||
Doc locale folders use Android locale qualifiers, either `{lang}` or `{lang}-r{REGION}` (for example `fr`, `fr-rFR`, `de-rDE`, `ja-rJP`). The `values-*` folders for app strings use bare language codes instead (`values-fr`, `values-de`, `values-ja`), because `crowdin.yml` writes strings with `%two_letters_code%` and doc pages with `%android_code%`. The two sets do not line up one-to-one.
|
||
|
||
The app automatically selects the correct locale based on your phone's **Language & Region** settings.
|
||
|
||
A page that came from Crowdin is labeled **Community translated** under its title in the app. If a page has no Crowdin translation for your language yet, the Google-flavor Android build machine-translates the English source on the fly and labels it **Auto-translated** instead; F-Droid and desktop builds show the English page. Your Crowdin translation replaces the machine one as soon as it lands.
|
||
|
||
## Translation Guidelines
|
||
|
||
- **Ära tõlgi** tehnilisi termineid nagu "LoRa", "MQTT", "BLE", "TAK", "SNR", or "RSSI" — need on universaalsed.
|
||
- **Jäta kohatäited puutumata.** Stringid nagu `%1$s` või `%d` täidetakse käitusajal. Do not remove or reorder them unless the grammar of your language requires it.
|
||
- **Match tone.** The app uses a friendly, direct voice. Avoid overly formal language.
|
||
- **Test if possible.** Switch your phone's language and open the app to see how translations look in context.
|
||
|
||
## Küsimusi?
|
||
|
||
Kui on küsimusi konkreetse stringi konteksti kohta või vajad abi alustamiseks, ava arutelu lehel [Meshtastic GitHub Discussions](https://github.com/orgs/meshtastic/discussions).
|
||
|
||
Thank you for helping expand the reach of Meshtastic.
|
||
|
||
## Seotud teemad
|
||
|
||
- [Units & Locale](units-and-locale) — how the app picks number, date, and unit formats for your region
|
||
- [Help & Documentation](help-and-docs) — the in-app docs browser these pages are published to
|
||
- [Onboarding](onboarding) — where a new user first meets the translated strings
|
||
</pre>
|
||
</body>
|
||
</html> |