|
1 | 1 | # Rust I18n
|
2 | 2 |
|
3 |
| -[](https://github.com/longbridgeapp/rust-i18n/actions/workflows/ci.yml) [](https://docs.rs/rust-i18n/) [](https://crates.io/crates/rust-i18n) |
| 3 | +[](https://github.com/longbridge/rust-i18n/actions/workflows/ci.yml) [](https://docs.rs/rust-i18n/) [](https://crates.io/crates/rust-i18n) |
4 | 4 |
|
5 | 5 | > 🎯 Let's make I18n things to easy!
|
6 | 6 |
|
@@ -305,13 +305,13 @@ Now you call [`t!`] will lookup translates from your own backend first, if not f
|
305 | 305 |
|
306 | 306 | ## Example
|
307 | 307 |
|
308 |
| -A minimal example of using rust-i18n can be found [here](https://github.com/longbridgeapp/rust-i18n/tree/main/examples). |
| 308 | +A minimal example of using rust-i18n can be found [here](https://github.com/longbridge/rust-i18n/tree/main/examples). |
309 | 309 |
|
310 | 310 | ## I18n Ally
|
311 | 311 |
|
312 | 312 | I18n Ally is a VS Code extension for helping you translate your Rust project.
|
313 | 313 |
|
314 |
| -You can add [i18n-ally-custom-framework.yml](https://github.com/longbridgeapp/rust-i18n/blob/main/.vscode/i18n-ally-custom-framework.yml) to your project `.vscode` directory, and then use I18n Ally can parse `t!` marco to show translate text in VS Code editor. |
| 314 | +You can add [i18n-ally-custom-framework.yml](https://github.com/longbridge/rust-i18n/blob/main/.vscode/i18n-ally-custom-framework.yml) to your project `.vscode` directory, and then use I18n Ally can parse `t!` marco to show translate text in VS Code editor. |
315 | 315 |
|
316 | 316 | ## Extractor
|
317 | 317 |
|
@@ -389,7 +389,7 @@ Rust I18n command to help you extract all untranslated texts from source code.
|
389 | 389 |
|
390 | 390 | It will iterate all Rust files in the source directory and extract all untranslated texts that used `t!` macro. Then it will generate a YAML file and merge with the existing translations.
|
391 | 391 |
|
392 |
| -https://github.com/longbridgeapp/rust-i18n |
| 392 | +https://github.com/longbridge/rust-i18n |
393 | 393 |
|
394 | 394 | Usage: cargo i18n [OPTIONS] [-- <SOURCE>]
|
395 | 395 |
|
@@ -442,6 +442,14 @@ t_lorem_ipsum time: [33.867 ns 34.286 ns 34.751 ns]
|
442 | 442 |
|
443 | 443 | The result `101 ns (0.0001 ms)` means if there have **10K** translate texts, it will cost `1ms`.
|
444 | 444 |
|
| 445 | +## Use Cases |
| 446 | +
|
| 447 | +- [longbridge-terminal](https://github.com/longbridge/longbridge-terminal) |
| 448 | +- [topgrade](https://github.com/topgrade-rs/topgrade) |
| 449 | +- [trippy](https://github.com/fujiapple852/trippy) |
| 450 | +- [hyperswitch](https://github.com/juspay/hyperswitch) |
| 451 | +- [MirrorX](https://github.com/MirrorX-Desktop/MirrorX) |
| 452 | +
|
445 | 453 | ## License
|
446 | 454 |
|
447 | 455 | MIT
|
0 commit comments