@taiga-ui/i18n 2.20.0 → 2.24.0

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 +11 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -3,7 +3,9 @@
3
3
  [![npm version](https://img.shields.io/npm/v/@taiga-ui/cdk.svg)](https://npmjs.com/package/@taiga-ui/i18n)
4
4
  [![Discord](https://img.shields.io/discord/748677963142135818?color=7289DA&label=%23taiga-ui&logo=discord&logoColor=white)](https://discord.gg/Us8d8JVaTg)
5
5
 
6
- [Website](https://taiga-ui.dev) • [Documentation](https://taiga-ui.dev/getting-started) • [CDK Wiki](https://github.com/TinkoffCreditSystems/taiga-ui/wiki) • [Core team](https://github.com/TinkoffCreditSystems/taiga-ui/#core-team)
6
+ [Website](https://taiga-ui.dev) • [Documentation](https://taiga-ui.dev/getting-started) •
7
+ [CDK Wiki](https://github.com/TinkoffCreditSystems/taiga-ui/wiki) •
8
+ [Core team](https://github.com/TinkoffCreditSystems/taiga-ui/#core-team)
7
9
 
8
10
  <!-- Do not change next line without i18n demo page -->
9
11
 
@@ -28,11 +30,13 @@ Supported languages:
28
30
 
29
31
  <!-- Do not change next line without i18n demo page -->
30
32
 
31
- It's a part of [**Taiga UI**](https://github.com/TinkoffCreditSystems/taiga-ui) that is fully-treeshakable Angular UI Kit consisting of multiple base libraries and several add-ons
33
+ It's a part of [**Taiga UI**](https://github.com/TinkoffCreditSystems/taiga-ui) that is fully-treeshakable Angular UI
34
+ Kit consisting of multiple base libraries and several add-ons
32
35
 
33
36
  ## How to install
34
37
 
35
- If you have [@taiga-ui/core](https://npmjs.com/package/@taiga-ui/core) in your app, you do not need to install anything. i18n package is included as a dependency.
38
+ If you have [@taiga-ui/core](https://npmjs.com/package/@taiga-ui/core) in your app, you do not need to install anything.
39
+ i18n package is included as a dependency.
36
40
 
37
41
  ## How to use
38
42
 
@@ -56,7 +60,8 @@ import {TUI_LANGUAGE, TUI_RUSSIAN_LANGUAGE} from '@taiga-ui/i18n';
56
60
  export class AppModule {}
57
61
  ```
58
62
 
59
- You can also switch languages on the fly. Use `useFactory` or `useClass` with a service to make a stream of dictionaries.
63
+ You can also switch languages on the fly. Use `useFactory` or `useClass` with a service to make a stream of
64
+ dictionaries.
60
65
 
61
66
  If you extremely struggle against every byte of your app, you can build a custom language dictionary with constants:
62
67
 
@@ -76,7 +81,8 @@ Feel free to add new languages!
76
81
 
77
82
  1. Go to `languages` folder
78
83
  2. Copy `english` folder and rename new folder with the name of language you speak
79
- 3. Translate entities in files. If you need some clarification, take a look at interfaces of entities. If you need more, please write to us via issues or any other way of contact :)
84
+ 3. Translate entities in files. If you need some clarification, take a look at interfaces of entities. If you need more,
85
+ please write to us via issues or any other way of contact :)
80
86
 
81
87
  Thank you!
82
88
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/i18n",
3
- "version": "2.20.0",
3
+ "version": "2.24.0",
4
4
  "description": "A package with tools for Taiga UI library i18n",
5
5
  "keywords": [
6
6
  "angular",