i18next-cli 1.56.9 → 1.56.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/dist/cjs/cli.js +1 -1
- package/dist/cjs/linter.js +1 -0
- package/dist/esm/cli.js +1 -1
- package/dist/esm/linter.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -44,7 +44,7 @@ A unified, high-performance i18next CLI toolchain, powered by SWC.
|
|
|
44
44
|
- **Translation Status**: Get a high-level overview or a detailed, key-by-key report of your project's translation completeness.
|
|
45
45
|
- **Plugin System**: Extensible architecture for custom extraction patterns and file types (e.g., HTML, Handlebars).
|
|
46
46
|
- **Legacy Migration**: Automatic migration from `i18next-parser` configurations.
|
|
47
|
-
- **Cloud Integration**: Seamless integration with the [Locize](https://locize.com) translation management platform.
|
|
47
|
+
- **Cloud Integration**: Seamless integration with the [Locize](https://www.locize.com?utm_source=i18next_cli_readme&utm_medium=github&utm_campaign=readme) translation management platform.
|
|
48
48
|
|
|
49
49
|
## Installation
|
|
50
50
|
|
|
@@ -253,7 +253,7 @@ npx i18next-cli lint
|
|
|
253
253
|
|
|
254
254
|
### `instrument`
|
|
255
255
|
|
|
256
|
-
Scans your source code for hardcoded user-facing strings and instruments them with i18next translation calls. This is useful for adding i18next instrumentation to an existing codebase that wasn't built with internationalization in mind. You can see this in action in [this video](https://youtu.be/aWZnZXwGg34) or in [this blog post](https://www.locize.com/blog/i18next-cli-instrument).
|
|
256
|
+
Scans your source code for hardcoded user-facing strings and instruments them with i18next translation calls. This is useful for adding i18next instrumentation to an existing codebase that wasn't built with internationalization in mind. You can see this in action in [this video](https://youtu.be/aWZnZXwGg34) or in [this blog post](https://www.locize.com/blog/i18next-cli-instrument?utm_source=i18next_cli_readme&utm_medium=github&utm_campaign=readme).
|
|
257
257
|
|
|
258
258
|
> **⚠️ First-Step Tool:** The `instrument` command uses heuristic-based detection and is designed as a **first pass** to identify and suggest transformation candidates. It will **not catch 100% of cases**, and you should expect both false positives and false negatives. Always review the suggested transformations carefully before committing them to your codebase. Think of it as an intelligent code assistant, not an automated compiler.
|
|
259
259
|
|
|
@@ -1507,21 +1507,21 @@ This programmatic API gives you the same power as the CLI but with full control
|
|
|
1507
1507
|
<h3 align="center">Gold Sponsors</h3>
|
|
1508
1508
|
|
|
1509
1509
|
<p align="center">
|
|
1510
|
-
<a href="https://www.locize.com
|
|
1510
|
+
<a href="https://www.locize.com/?utm_source=i18next_cli_readme&utm_medium=github&utm_campaign=readme" target="_blank">
|
|
1511
1511
|
<img src="https://raw.githubusercontent.com/i18next/i18next/master/assets/locize_sponsor_240.gif" width="240px">
|
|
1512
1512
|
</a>
|
|
1513
1513
|
</p>
|
|
1514
1514
|
|
|
1515
1515
|
---
|
|
1516
1516
|
|
|
1517
|
-
**From the creators of i18next: localization as a service - [Locize](https://www.locize.com)**
|
|
1517
|
+
**From the creators of i18next: localization as a service - [Locize](https://www.locize.com?utm_source=i18next_cli_readme&utm_medium=github&utm_campaign=readme)**
|
|
1518
1518
|
|
|
1519
|
-
A translation management system built around the i18next ecosystem - [Locize](https://locize.com).
|
|
1519
|
+
A translation management system built around the i18next ecosystem - [Locize](https://www.locize.com?utm_source=i18next_cli_readme&utm_medium=github&utm_campaign=readme).
|
|
1520
1520
|
|
|
1521
|
-
**Now with a [Free plan](https://locize.com/pricing) for small projects!** Perfect for hobbyists or getting started.
|
|
1521
|
+
**Now with a [Free plan](https://www.locize.com/pricing?utm_source=i18next_cli_readme&utm_medium=github&utm_campaign=readme) for small projects!** Perfect for hobbyists or getting started.
|
|
1522
1522
|
|
|
1523
1523
|

|
|
1524
1524
|
|
|
1525
|
-
With using [Locize](https://www.locize.com/?utm_source=i18next_cli_readme&utm_medium=github) you directly support the future of i18next.
|
|
1525
|
+
With using [Locize](https://www.locize.com/?utm_source=i18next_cli_readme&utm_medium=github&utm_campaign=readme) you directly support the future of i18next.
|
|
1526
1526
|
|
|
1527
1527
|
---
|
package/dist/cjs/cli.js
CHANGED
|
@@ -32,7 +32,7 @@ const program = new commander.Command();
|
|
|
32
32
|
program
|
|
33
33
|
.name('i18next-cli')
|
|
34
34
|
.description('A unified, high-performance i18next CLI.')
|
|
35
|
-
.version('1.56.
|
|
35
|
+
.version('1.56.10'); // This string is replaced with the actual version at build time by rollup
|
|
36
36
|
// new: global config override option
|
|
37
37
|
program.option('-c, --config <path>', 'Path to i18next-cli config file (overrides detection)');
|
|
38
38
|
program
|
package/dist/cjs/linter.js
CHANGED
package/dist/esm/cli.js
CHANGED
|
@@ -30,7 +30,7 @@ const program = new Command();
|
|
|
30
30
|
program
|
|
31
31
|
.name('i18next-cli')
|
|
32
32
|
.description('A unified, high-performance i18next CLI.')
|
|
33
|
-
.version('1.56.
|
|
33
|
+
.version('1.56.10'); // This string is replaced with the actual version at build time by rollup
|
|
34
34
|
// new: global config override option
|
|
35
35
|
program.option('-c, --config <path>', 'Path to i18next-cli config file (overrides detection)');
|
|
36
36
|
program
|
package/dist/esm/linter.js
CHANGED