@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.
Files changed (3) hide show
  1. package/README.md +18 -22
  2. package/README.njk.md +2 -2
  3. package/package.json +5 -5
package/README.md CHANGED
@@ -16,27 +16,23 @@
16
16
 
17
17
  [![Logo](https://user-images.githubusercontent.com/18496315/188628892-33fcc282-26f1-4035-8105-95952bd93de9.svg)](https://tolgee.io)
18
18
 
19
- Tolgee is an open-source alternative to Crowdin, Phrase, or Lokalise with its very own revolutionary integrations.
19
+ Tolgee is an open-source alternative to Crowdin, Phrase, or Lokalise
20
20
 
21
- ![test workflow](https://github.com/tolgee/tolgee-js/actions/workflows/test.yml/badge.svg)
22
-
23
- ![@tolgee/react version](https://img.shields.io/npm/v/@tolgee/react?label=@tolgee/react)
24
-
25
- ![types typescript](https://img.shields.io/badge/Types-Typescript-blue)
21
+ ![test workflow](https://github.com/tolgee/tolgee-js/actions/workflows/test.yml/badge.svg) ![@tolgee/react version](https://img.shields.io/npm/v/@tolgee/react?label=@tolgee/react)
26
22
  ![typescript](https://img.shields.io/github/languages/top/tolgee/tolgee-js)
27
- ![licence](https://img.shields.io/github/license/tolgee/tolgee-js)
28
- [![github stars](https://img.shields.io/github/stars/tolgee/tolgee-js?style=social&label=Tolgee%20JS)](https://github.com/tolgee/tolgee-js)
29
- [![github stars](https://img.shields.io/github/stars/tolgee/server?style=social&label=Tolgee%20Server)](https://github.com/tolgee/server)
30
- [![Github discussions](https://img.shields.io/github/discussions/tolgee/tolgee-platform)](https://github.com/tolgee/tolgee-platform/discussions)
31
- </div>
32
-
33
- <div align="center">
34
-
35
- [<img src="https://img.shields.io/badge/-Facebook-424549?style=social&logo=facebook" height=25 />](https://www.facebook.com/Tolgee.i18n)
36
- [<img src="https://img.shields.io/badge/-Twitter-424549?style=social&logo=twitter" height=25 />](https://twitter.com/Tolgee_i18n)
37
- [<img src="https://img.shields.io/badge/-Linkedin-424549?style=social&logo=linkedin" height=25 />](https://www.linkedin.com/company/tolgee)
38
-
39
- **Become part of the family. Join [slack channel <img src="https://img.shields.io/badge/-Tolgee Comunity-424549?style=social&logo=slack" height=25 />](https://join.slack.com/t/tolgeecommunity/shared_invite/zt-195isb5u8-_RcSRgVJfvgsPpOBIok~IQ)**
23
+ ![Types Typescript](https://img.shields.io/badge/Types-Typescript-blue)
24
+ ![Licence](https://img.shields.io/github/license/tolgee/tolgee-js)
25
+ [![GitHub Stars](https://img.shields.io/github/stars/tolgee/tolgee-js?style=social&label=Tolgee%20JS)](https://github.com/tolgee/tolgee-js)
26
+
27
+ [![GitHub Stars](https://img.shields.io/github/stars/tolgee/tolgee-platform?style=social&label=Tolgee%20Platform)](https://github.com/tolgee/tolgee-platform)
28
+ [![GitHub Discussions](https://img.shields.io/github/discussions/tolgee/tolgee-platform)](https://github.com/tolgee/tolgee-platform/discussions)
29
+ [![Docker](https://img.shields.io/badge/Docker-2496ED?logo=docker&logoColor=fff)](https://hub.docker.com/repository/docker/tolgee/tolgee)
30
+ [![Read the Docs](https://img.shields.io/badge/Read%20the%20Docs-8CA1AF?logo=readthedocs&logoColor=fff)](https://docs.tolgee.io/)
31
+ [![Slack](https://img.shields.io/badge/Slack-4A154B?logo=slack&logoColor=fff)](https://join.slack.com/t/tolgeecommunity/shared_invite/zt-2zp55d175-_agXTfKKVbf1BYXlKlmwbA)
32
+ [![Dev.to](https://img.shields.io/badge/Dev.to-tolgee_i18n?logo=devdotto&logoColor=white)](https://dev.to/tolgee_i18n)
33
+ [![YouTube](https://img.shields.io/badge/YouTube-%23FF0000.svg?logo=YouTube&logoColor=white)](https://www.youtube.com/@tolgee)
34
+ [![LinkedIn](https://custom-icon-badges.demolab.com/badge/LinkedIn-0A66C2?logo=linkedin-white&logoColor=fff)](https://www.linkedin.com/company/tolgee/)
35
+ [![X](https://img.shields.io/badge/X-%23000000.svg?logo=X&logoColor=white)](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
+ ![Tolgee Demo Example](https://github.com/user-attachments/assets/ca0d0ea0-a440-409f-a3cd-f93ef01dc197)
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
- ![react-infinite](https://user-images.githubusercontent.com/18496315/137308502-844f5ccf-1895-414d-bf40-6707cb691853.gif)
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
- Because it saves a lot of time, you would spend on localization tasks without it. Because it enables you to provide perfectly translated software.
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
+ ![Tolgee Demo Example](https://github.com/user-attachments/assets/ca0d0ea0-a440-409f-a3cd-f93ef01dc197)
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
- ![react-infinite](https://user-images.githubusercontent.com/18496315/137308502-844f5ccf-1895-414d-bf40-6707cb691853.gif)
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",
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.3"
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.3",
50
- "@tolgee/testing": "6.2.3",
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": "c7c146bdd13bfb513769d1a5d7d36688460c5f41"
91
+ "gitHead": "f5d8db7aa7963c5ea641be8664d081a9ca2566e2"
92
92
  }