i18n-works 0.1.5 → 0.1.6

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.
Files changed (2) hide show
  1. package/README.md +15 -5
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,14 +1,22 @@
1
+ ![i18n-works](images/sss5.png)
2
+
1
3
  # 🌍 i18n-works (AI-powered i18n plugin) & CLI tools
2
4
 
5
+ [![npm version](https://img.shields.io/npm/v/i18n-works.svg)](https://www.npmjs.com/package/i18n-works)
6
+ [![npm downloads](https://img.shields.io/npm/dm/i18n-works.svg)](https://www.npmjs.com/package/i18n-works)
7
+ [![Node.js version](https://img.shields.io/node/v/i18n-works.svg)](https://www.npmjs.com/package/i18n-works)
8
+ [![Tests and build](https://github.com/rand0mC0d3r/i18n-works/actions/workflows/release.yml/badge.svg?branch=main)](https://github.com/rand0mC0d3r/i18n-works/actions/workflows/release.yml)
9
+ [![GitHub release](https://img.shields.io/github/v/release/rand0mC0d3r/i18n-works.svg)](https://github.com/rand0mC0d3r/i18n-works/releases)
10
+ [![Last commit](https://img.shields.io/github/last-commit/rand0mC0d3r/i18n-works/main.svg)](https://github.com/rand0mC0d3r/i18n-works/commits/main)
11
+ [![License](https://img.shields.io/github/license/rand0mC0d3r/i18n-works.svg)](LICENSE)
12
+
3
13
  **Build/Run-time localization for typical `t()` strings.** Wrap user-facing copy in `t("...")` imported from `virtual:i18n-works`. The compiler extracts each string, gives it a stable ID, and can translate it with an AI provider. Bonus: `tauto()` and `tpick()` helpers for context-aware and conditional translations.
4
14
 
5
15
  > [!WARNING]
6
16
  > **Beta.** Configuration options and `.i18n-works/` file formats are meant to stay stable, but review the [known limitations](#-known-limitations) before shipping to production. Pin the version while in beta.
7
17
 
8
-
9
18
  ![i18n-works](images/banner.png)
10
19
 
11
-
12
20
  ### TL;DR / Crash Course for impatient developers
13
21
 
14
22
  The plugin extracts the strings passed to the exposed functions (like `t()`, `tt()`, `tauto()`, and `tpick()`), assigns stable IDs, and translates them with your chosen AI provider. Use the build or runtime delivery mode to get localized bundles.
@@ -59,15 +67,17 @@ tpick(
59
67
 
60
68
  ---
61
69
 
62
- Want to find out more? Check out the detailed documentation below to explore features, installation steps, configuration options, and examples of how to use i18n-works effectively in your project.
70
+ ## Documentation
63
71
 
72
+ ![i18n-works](images/documentation.png)
64
73
 
65
- https://rand0mc0d3r.github.io/i18n-works/
74
+ Want to find out more? Check out the detailed documentation below to explore features, installation steps, configuration options, and examples of how to use i18n-works effectively in your project.
66
75
 
76
+ [**📖 Explore the i18n-works Documentation**](https://rand0mc0d3r.github.io/i18n-works/)
67
77
 
68
78
  ## License
69
79
 
70
- i18n-works is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
80
+ i18n-works is licensed under the Apache License 2.0. See the [LICENSE](LICENSE) file for details.
71
81
 
72
82
  ## Known Limitations
73
83
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "i18n-works",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Build-time AI localization for strings marked with t() in React applications",
5
5
  "keywords": [
6
6
  "ai",
@@ -17,7 +17,7 @@
17
17
  "bugs": {
18
18
  "url": "https://github.com/rand0mC0d3r/i18n-works/issues"
19
19
  },
20
- "license": "ISC",
20
+ "license": "Apache-2.0",
21
21
  "repository": {
22
22
  "type": "git",
23
23
  "url": "git+https://github.com/rand0mC0d3r/i18n-works.git"