@tolgee/react 6.2.3 → 6.2.5
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 +18 -22
- package/README.njk.md +2 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -16,27 +16,23 @@
|
|
|
16
16
|
|
|
17
17
|
[](https://tolgee.io)
|
|
18
18
|
|
|
19
|
-
Tolgee is an open-source alternative to Crowdin, Phrase, or Lokalise
|
|
19
|
+
Tolgee is an open-source alternative to Crowdin, Phrase, or Lokalise
|
|
20
20
|
|
|
21
|
-

|
|
22
|
-
|
|
23
|
-

|
|
24
|
-
|
|
25
|
-

|
|
21
|
+
 
|
|
26
22
|

|
|
27
|
-

|
|
24
|
+

|
|
25
|
+
[](https://github.com/tolgee/tolgee-js)
|
|
26
|
+
|
|
27
|
+
[](https://github.com/tolgee/tolgee-platform)
|
|
28
|
+
[](https://github.com/tolgee/tolgee-platform/discussions)
|
|
29
|
+
[](https://hub.docker.com/repository/docker/tolgee/tolgee)
|
|
30
|
+
[](https://docs.tolgee.io/)
|
|
31
|
+
[](https://join.slack.com/t/tolgeecommunity/shared_invite/zt-2zp55d175-_agXTfKKVbf1BYXlKlmwbA)
|
|
32
|
+
[](https://dev.to/tolgee_i18n)
|
|
33
|
+
[](https://www.youtube.com/@tolgee)
|
|
34
|
+
[](https://www.linkedin.com/company/tolgee/)
|
|
35
|
+
[](https://x.com/Tolgee_i18n)
|
|
40
36
|
|
|
41
37
|
</div>
|
|
42
38
|
|
|
@@ -48,6 +44,8 @@ For more information about using Tolgee with React, visit the [docs 📖](https:
|
|
|
48
44
|
|
|
49
45
|
Localize (translate) your CRA, Next.js, or other React projects to multiple languages with Tolgee. Integration of Tolgee is extremely simple! 🇯🇵 🇰🇷 🇩🇪 🇨🇳 🇺🇸 🇫🇷 🇪🇸 🇮🇹 🇷🇺 🇬🇧
|
|
50
46
|
|
|
47
|
+

|
|
48
|
+
|
|
51
49
|
|
|
52
50
|
## Quick links
|
|
53
51
|
- [Tolgee for React docs](https://tolgee.io/js-sdk/5.0.0-alpha.1/integrations/react/installation)
|
|
@@ -92,8 +90,6 @@ const tolgee = Tolgee()
|
|
|
92
90
|
|
|
93
91
|
## Usage
|
|
94
92
|
|
|
95
|
-

|
|
96
|
-
|
|
97
93
|
To translate texts using Tolgee React integration, you can use `T` component or `useTranslate` hook.
|
|
98
94
|
|
|
99
95
|
### T component
|
|
@@ -135,7 +131,7 @@ t("key_to_translate")
|
|
|
135
131
|
|
|
136
132
|
|
|
137
133
|
## Why to use Tolgee?
|
|
138
|
-
|
|
134
|
+
Tolgee saves a lot of time you would spend on localization tasks otherwise. It enables you to provide perfectly translated software.
|
|
139
135
|
|
|
140
136
|
### Features
|
|
141
137
|
|
package/README.njk.md
CHANGED
|
@@ -7,6 +7,8 @@ For more information about using Tolgee with React, visit the [docs 📖](https:
|
|
|
7
7
|
|
|
8
8
|
Localize (translate) your CRA, Next.js, or other React projects to multiple languages with Tolgee. Integration of Tolgee is extremely simple! 🇯🇵 🇰🇷 🇩🇪 🇨🇳 🇺🇸 🇫🇷 🇪🇸 🇮🇹 🇷🇺 🇬🇧
|
|
9
9
|
|
|
10
|
+

|
|
11
|
+
|
|
10
12
|
{{ macros.integrationLinks('Tolgee for React docs', macros.v5link('integrations/react/installation')) }}
|
|
11
13
|
|
|
12
14
|
{{ macros.installation('react') }}
|
|
@@ -35,8 +37,6 @@ const tolgee = Tolgee()
|
|
|
35
37
|
|
|
36
38
|
## Usage
|
|
37
39
|
|
|
38
|
-

|
|
39
|
-
|
|
40
40
|
To translate texts using Tolgee React integration, you can use `T` component or `useTranslate` hook.
|
|
41
41
|
|
|
42
42
|
### T component
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tolgee/react",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.5",
|
|
4
4
|
"description": "React implementation for Tolgee localization framework",
|
|
5
5
|
"main": "./dist/tolgee-react.cjs.js",
|
|
6
6
|
"module": "./dist/tolgee-react.esm.js",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"react": "^16.14.0 || ^17.0.1 || ^18.1.0 || ^19"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@tolgee/web": "6.2.
|
|
41
|
+
"@tolgee/web": "6.2.5"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@rollup/plugin-node-resolve": "^14.1.0",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"@testing-library/dom": "^8.7.2",
|
|
47
47
|
"@testing-library/jest-dom": "^5.11.4",
|
|
48
48
|
"@testing-library/react": "^14.3.1",
|
|
49
|
-
"@tolgee/format-icu": "6.2.
|
|
50
|
-
"@tolgee/testing": "6.2.
|
|
49
|
+
"@tolgee/format-icu": "6.2.5",
|
|
50
|
+
"@tolgee/testing": "6.2.5",
|
|
51
51
|
"@types/jest": "^27.0.2",
|
|
52
52
|
"@types/node": "^17.0.8",
|
|
53
53
|
"@types/react": "^18.3.16",
|
|
@@ -88,5 +88,5 @@
|
|
|
88
88
|
"access": "public"
|
|
89
89
|
},
|
|
90
90
|
"sideEffects": false,
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "f5d8db7aa7963c5ea641be8664d081a9ca2566e2"
|
|
92
92
|
}
|