mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-09-19 22:19:36 +02:00
fix: docs
This commit is contained in:
20
README.md
20
README.md
@@ -148,24 +148,8 @@ npm run test
|
|||||||
npm run test:e2e
|
npm run test:e2e
|
||||||
```
|
```
|
||||||
|
|
||||||
### 🌐 i18n (Translations)
|
### i18n (Translations)
|
||||||
|
The translation files are [here](public/locales). Only edit these if you are a developer. For non developers, use [Locize](https://www.locize.app/register?invitation=YOIH0Dyz3KHh3uQFCGYe9v1QOUoq8W5ySgmlwjX9cSypeJmt8F40brDtVbXb71fK).
|
||||||
We use **[Locize](https://locize.com)** for managing translations.
|
|
||||||
|
|
||||||
### 🔁 Workflow
|
|
||||||
|
|
||||||
1. Join the Locize project** via the [invitation link](https://www.locize.app/register?invitation=Uk9mvOCKkB7sjuUqI5jDBjZROveZIvdBQqzrpmB4oQtT1LNB4BnzzT0S0o1gx79N).
|
|
||||||
2. Make sure `LOCIZE_API_KEY` is available in your environment (e.g., in `.env`). You can get it from API, CDN, NOTIFICATIONS
|
|
||||||
3. Pull latest translations** before editing:
|
|
||||||
```bash
|
|
||||||
npm run i18n:pull
|
|
||||||
```
|
|
||||||
4. **Edit translation files** in `public/locales/{lang}/{namespace}.json`.
|
|
||||||
5. **Push your changes** after editing:
|
|
||||||
```bash
|
|
||||||
npm run i18n:sync
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
<img src="https://api.star-history.com/svg?repos=iib0011/omni-tools&type=Date"/>
|
<img src="https://api.star-history.com/svg?repos=iib0011/omni-tools&type=Date"/>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user