Skip to content

Commit

Permalink
docs: mention Weblate
Browse files Browse the repository at this point in the history
  • Loading branch information
Tienisto committed Nov 4, 2024
1 parent 0f603d1 commit 4e473f3
Showing 1 changed file with 9 additions and 16 deletions.
25 changes: 9 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -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!

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

[i18n]: https://github.com/localsend/localsend/tree/main/app/assets/i18n
[locale codes]: https://saimana.com/list-of-country-locale-code/
You can help translate LocalSend into other languages. We use the [Weblate](https://hosted.weblate.org/projects/localsend/app) platform to manage translations.

Alternatively, you can also contribute by forking this repository and adding translations manually.

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.**

0 comments on commit 4e473f3

Please sign in to comment.