Skip to content

Commit 5039b40

Browse files
committed
docs: update README for new command
1 parent 91b38d0 commit 5039b40

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,19 @@ linguito translate ~/Development/my-app --llm
8181
linguito translate ~/Development/my-app --llm --interactive
8282
```
8383

84+
### `linguito format`
85+
86+
Reads and cleans the project's catalog files to ensure consistency and readability. It removes empty translations and normalizes the format of the catalog files, making them easier to maintain. This command is particularly useful before committing translation changes to version control or when preparing files for translation work.
87+
88+
#### Examples
89+
90+
```shell
91+
# Format catalog files in the current directory project
92+
linguito format
93+
94+
# Or specify a custom project directory
95+
linguito format ~/Development/my-app
96+
```
8497

8598
## Development
8699

0 commit comments

Comments
 (0)