Skip to content

Commit e3bc9b3

Browse files
committed
chore: update i18n app
1 parent b35bc31 commit e3bc9b3

29 files changed

+8137
-1895
lines changed

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22

33
Kendo UI for Angular uses GitHub Issues as an official bug tracker.
44

5-
This repository is intended to support users by providing information on available support options and by storing the sample projects that are referred to from the official Kendo UI for Angular documentation.
5+
This repository is intended to support users by providing information on available support options and by storing the sample projects that are referred to from the [official Kendo UI for Angular documentation](https://www.telerik.com/kendo-angular-ui/components/).
66

77
**This repository does not contain the actual source code of the components.**
88

99
## In This Article
1010

1111
* [Available Support Options](#support-options)
12-
* [Information on How to Use Specific Features](#how-do-i)
13-
* [Queries on Future Releases](#when-do-you-plan-on-releasing-feature-x)
14-
* [Bug Discovery](#i-think-i-found-a-bug)
15-
* [Bug Reports](#i-want-to-report-a-bug)
16-
* [Tailor-Made Solutions](#i-need-a-tailor-made-solution)
12+
* [Information on How to Use Specific Features](#how-do-i)
13+
* [Queries on Future Releases](#when-do-you-plan-on-releasing-feature-x)
14+
* [Bug Discovery](#i-think-i-found-a-bug)
15+
* [Bug Reports](#i-want-to-report-a-bug)
16+
* [Tailor-Made Solutions](#i-need-a-tailor-made-solution)
1717
* [Sample Projects and Applications](#sample-projects)
1818

1919
## Support Options
@@ -59,7 +59,7 @@ The [Progress Services](https://www.progress.com/services) team is available to
5959

6060
## Sample Projects
6161

62-
The kendo-angular repository is a single storing place for all sample applications that are referred in the [official Kendo UI for Angular documentation]. All currently available sample applications are located under the following folders:
62+
The kendo-angular repository is a single storing place for all sample applications that are referred in the [official Kendo UI for Angular documentation](https://www.telerik.com/kendo-angular-ui/components/). All currently available sample applications are located under the following folders:
6363

6464
* [examples/projects/](https://github.com/telerik/kendo-angular/tree/master/examples/projects)
6565
* [examples-standalone](https://github.com/telerik/kendo-angular/tree/master/examples-standalone)
+13-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1-
# Translating Built-In Component Messages
1+
# IntegrationI18n
22

3-
This Kendo UI for Angular sample project demonstrates how to translate the built-in messages of [Kendo UI for Angular components](https://www.telerik.com/kendo-angular-ui/components/).
3+
This project demonstrates how to use Angular i18n and Kendo UI for Angular components in an Angular application. For more information, refer to the [Translation of Messages](https://www.telerik.com/kendo-angular-ui/components/globalization/localization/messages) and [Angular Internationalization](https://angular.dev/guide/i18n) articles.
44

5-
The demo is referred to in the [Kendo UI for Angular official documentation](https://www.telerik.com/kendo-angular-ui/components) in the article on [translating messages](https://www.telerik.com/kendo-angular-ui/components/globalization/localization/messages/).
5+
## Development server
66

7-
## Getting Started
7+
To run the different i18n configurations, you can use the following commands:
88

9-
1. Clone this repository by using your favorite Git client or by executing `git clone https://github.com/telerik/kendo-angular.git`.
10-
1. Enter the examples directory by running `cd examples`.
11-
1. Run `npm install` to install the project dependencies.
12-
1. Enter the project directory by running `cd projects/integration-i18n`.
13-
1. Run `ng serve integration-i18n --configuration=es`.
9+
```bash
10+
ng serve --configuration=es
11+
```
12+
13+
```bash
14+
ng serve --configuration=de
15+
```
16+
17+
Once the server is running, open your browser and navigate to `http://localhost:4200/`. The application will automatically reload whenever you modify any of the source files.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"integration-i18n": {
7+
"projectType": "application",
8+
"schematics": {},
9+
"root": "",
10+
"sourceRoot": "src",
11+
"prefix": "app",
12+
"i18n": {
13+
"sourceLocale": "en-US",
14+
"locales": {
15+
"es": {
16+
"translation": "src/locale/messages.es.xlf",
17+
"baseHref": ""
18+
},
19+
"de": {
20+
"translation": "src/locale/messages.de.xlf",
21+
"baseHref": ""
22+
}
23+
}
24+
},
25+
"architect": {
26+
"build": {
27+
"builder": "@angular-devkit/build-angular:application",
28+
"options": {
29+
"outputPath": "dist/integration-i18n",
30+
"index": "src/index.html",
31+
"browser": "src/main.ts",
32+
"polyfills": [
33+
"zone.js",
34+
"@angular/localize/init"
35+
],
36+
"tsConfig": "tsconfig.app.json",
37+
"assets": [
38+
{
39+
"glob": "**/*",
40+
"input": "public"
41+
}
42+
],
43+
"styles": [
44+
{
45+
"input": "node_modules/@progress/kendo-theme-default/dist/all.css"
46+
},
47+
"src/styles.css"
48+
],
49+
"scripts": []
50+
},
51+
"configurations": {
52+
"production": {
53+
"budgets": [
54+
{
55+
"type": "initial",
56+
"maximumWarning": "500kB",
57+
"maximumError": "1MB"
58+
},
59+
{
60+
"type": "anyComponentStyle",
61+
"maximumWarning": "4kB",
62+
"maximumError": "8kB"
63+
}
64+
],
65+
"outputHashing": "all"
66+
},
67+
"development": {
68+
"optimization": false,
69+
"extractLicenses": false,
70+
"sourceMap": true
71+
},
72+
"es": {
73+
"localize": ["es"]
74+
},
75+
"de": {
76+
"localize": ["de"]
77+
}
78+
},
79+
"defaultConfiguration": "production"
80+
},
81+
"serve": {
82+
"builder": "@angular-devkit/build-angular:dev-server",
83+
"configurations": {
84+
"production": {
85+
"buildTarget": "integration-i18n:build:production"
86+
},
87+
"development": {
88+
"buildTarget": "integration-i18n:build:development"
89+
},
90+
"es": {
91+
"buildTarget": "integration-i18n:build:es"
92+
},
93+
"de": {
94+
"buildTarget": "integration-i18n:build:de"
95+
}
96+
},
97+
"defaultConfiguration": "development"
98+
},
99+
"extract-i18n": {
100+
"builder": "@angular-devkit/build-angular:extract-i18n"
101+
},
102+
"test": {
103+
"builder": "@angular-devkit/build-angular:karma",
104+
"options": {
105+
"polyfills": [
106+
"zone.js",
107+
"zone.js/testing",
108+
"@angular/localize/init"
109+
],
110+
"tsConfig": "tsconfig.spec.json",
111+
"assets": [
112+
{
113+
"glob": "**/*",
114+
"input": "public"
115+
}
116+
],
117+
"styles": [
118+
{
119+
"input": "node_modules/@progress/kendo-theme-default/dist/all.css"
120+
},
121+
"src/styles.css"
122+
],
123+
"scripts": []
124+
}
125+
}
126+
}
127+
}
128+
},
129+
"cli": {
130+
"analytics": false
131+
}
132+
}

examples/projects/integration-i18n/karma.conf.js

-32
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"name": "integration-i18n",
3+
"version": "0.0.0",
4+
"scripts": {
5+
"ng": "ng",
6+
"start": "ng serve",
7+
"build": "ng build",
8+
"watch": "ng build --watch --configuration development",
9+
"test": "ng test"
10+
},
11+
"private": true,
12+
"dependencies": {
13+
"@angular/animations": "^19.0.0",
14+
"@angular/common": "^19.0.0",
15+
"@angular/compiler": "^19.0.0",
16+
"@angular/core": "^19.0.0",
17+
"@angular/forms": "^19.0.0",
18+
"@angular/localize": "^19.0.0",
19+
"@angular/platform-browser": "^19.0.0",
20+
"@angular/platform-browser-dynamic": "^19.0.0",
21+
"@angular/router": "^19.0.0",
22+
"@progress/kendo-angular-buttons": "17.2.0",
23+
"@progress/kendo-angular-common": "17.2.0",
24+
"@progress/kendo-angular-dateinputs": "17.2.0",
25+
"@progress/kendo-angular-dialog": "17.2.0",
26+
"@progress/kendo-angular-dropdowns": "17.2.0",
27+
"@progress/kendo-angular-excel-export": "17.2.0",
28+
"@progress/kendo-angular-grid": "^17.2.0",
29+
"@progress/kendo-angular-icons": "17.2.0",
30+
"@progress/kendo-angular-inputs": "17.2.0",
31+
"@progress/kendo-angular-intl": "17.2.0",
32+
"@progress/kendo-angular-l10n": "17.2.0",
33+
"@progress/kendo-angular-label": "17.2.0",
34+
"@progress/kendo-angular-layout": "17.2.0",
35+
"@progress/kendo-angular-messages": "^1.59.0",
36+
"@progress/kendo-angular-navigation": "17.2.0",
37+
"@progress/kendo-angular-pager": "17.2.0",
38+
"@progress/kendo-angular-pdf-export": "17.2.0",
39+
"@progress/kendo-angular-popup": "17.2.0",
40+
"@progress/kendo-angular-progressbar": "17.2.0",
41+
"@progress/kendo-angular-toolbar": "17.2.0",
42+
"@progress/kendo-angular-treeview": "17.2.0",
43+
"@progress/kendo-angular-utils": "17.2.0",
44+
"@progress/kendo-data-query": "^1.0.0",
45+
"@progress/kendo-drawing": "^1.21.0",
46+
"@progress/kendo-licensing": "^1.0.2",
47+
"@progress/kendo-svg-icons": "^4.0.0",
48+
"@progress/kendo-theme-default": "^10.0.1",
49+
"rxjs": "~7.8.0",
50+
"tslib": "^2.3.0",
51+
"zone.js": "~0.15.0"
52+
},
53+
"devDependencies": {
54+
"@angular-devkit/build-angular": "^19.0.6",
55+
"@angular/cli": "^19.0.6",
56+
"@angular/compiler-cli": "^19.0.0",
57+
"@types/jasmine": "~5.1.0",
58+
"jasmine-core": "~5.4.0",
59+
"karma": "~6.4.0",
60+
"karma-chrome-launcher": "~3.2.0",
61+
"karma-coverage": "~2.2.0",
62+
"karma-jasmine": "~5.1.0",
63+
"karma-jasmine-html-reporter": "~2.1.0",
64+
"typescript": "~5.6.2"
65+
}
66+
}

0 commit comments

Comments
 (0)