Skip to content

Commit e9122c5

Browse files
committed
doc/l10n: improve the doc
1 parent 187d973 commit e9122c5

3 files changed

Lines changed: 8 additions & 0 deletions

File tree

.vscode/cspell.dictionaries/workspace.wordlist.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,4 +347,5 @@ uutils
347347
getcwd
348348

349349
# * other
350+
weblate
350351
algs

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
[![CodeCov](https://codecov.io/gh/uutils/coreutils/branch/master/graph/badge.svg)](https://codecov.io/gh/uutils/coreutils)
1717
![MSRV](https://img.shields.io/badge/MSRV-1.85.0-brightgreen)
18+
[![Weblate](https://hosted.weblate.org/widget/rust-coreutils/svg-badge.svg)](https://hosted.weblate.org/projects/rust-coreutils/)
1819

1920
</div>
2021

@@ -59,6 +60,7 @@ uutils has both user and developer documentation available:
5960
Both can also be generated locally, the instructions for that can be found in
6061
the [coreutils docs](https://github.com/uutils/uutils.github.io) repository.
6162

63+
Use [weblate/rust-coreutils](https://hosted.weblate.org/projects/rust-coreutils/) to translate the Rust coreutils into your language.
6264

6365
<!-- ANCHOR: build (this mark is needed for mdbook) -->
6466

docs/src/l10n.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ This guide explains how localization (L10n) is implemented in the **Rust-based c
1010

1111
- **Main repository**: Contains English (`en-US.ftl`) locale files embedded in binaries
1212
- **Translation repository**: [uutils/coreutils-l10n](https://github.com/uutils/coreutils-l10n) contains all other language translations
13+
- **Online Translation**: [weblate/rust-coreutils](https://hosted.weblate.org/projects/rust-coreutils/) to translate the strings.
14+
1315

1416
---
1517

@@ -30,6 +32,9 @@ Examples:
3032

3133
These files follow Fluent syntax and contain localized message patterns.
3234

35+
The French translation is the only locale with English to be part of the tree. The goal is to be able to run tests with
36+
a different locale to verify that they work.
37+
3338
---
3439

3540
## ⚙️ Initialization

0 commit comments

Comments
 (0)