mirror of
https://github.com/localsend/localsend.git
synced 2026-08-07 07:14:52 +00:00
docs: mention Weblate
This commit is contained in:
@@ -136,22 +136,15 @@ We welcome contributions from anyone interested in helping improve LocalSend. If
|
||||
|
||||
### Translation
|
||||
|
||||
You can help translate this app to other languages!
|
||||
You can help translate LocalSend into other languages. We use the [Weblate](https://hosted.weblate.org/projects/localsend/app) platform to manage translations.
|
||||
|
||||
1. Fork this repository
|
||||
2. Choose one
|
||||
- Add missing translations in existing languages: Only update `_missing_translations_<locale>.json` in [app/assets/i18n][i18n]
|
||||
- Fix existing translations: Update `strings_<locale>.i18n.json` in [app/assets/i18n][i18n]
|
||||
- Add new languages: Create a new file; see also: [locale codes][].
|
||||
3. Optional: Re-run this app
|
||||
1. Run `cd app` to enter the app directory.
|
||||
2. Make sure you have [run](#getting-started) this app once.
|
||||
3. Update translations via `flutter pub run slang`
|
||||
4. Run the app via `flutter run`
|
||||
5. Open a pull request
|
||||
Alternatively, you can also contribute by forking this repository and adding translations manually.
|
||||
|
||||
[i18n]: https://github.com/localsend/localsend/tree/main/app/assets/i18n
|
||||
[locale codes]: https://saimana.com/list-of-country-locale-code/
|
||||
The translations are located in the [app/assets/i18n](https://github.com/localsend/localsend/tree/main/app/assets/i18n) directory. Edit the `_missing_translations_<locale>.json` or `strings_<locale>.i18n.json` file to add or update translations.
|
||||
|
||||
<a href="https://hosted.weblate.org/engage/localsend/">
|
||||
<img src="https://hosted.weblate.org/widget/localsend/app/multi-auto.svg" alt="Translation status" />
|
||||
</a>
|
||||
|
||||
**_Take note:_ Fields decorated with `@` are not meant to be translated; they are not used in the app in any way, being merely informative text about the file or to give context to the translator.**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user