Skip to content

Commit 1bfa3e8

Browse files
committed
Merge branch 'release/1.0.0' into main
2 parents 39311a0 + ae4caf6 commit 1bfa3e8

File tree

12 files changed

+511
-158
lines changed

12 files changed

+511
-158
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Angular starter for large front-end projects built under a clean architecture th
1818
- Authentication scheme based on roles, JWT interceptor, role guard, auth guard, and no-auth guard.
1919
- PWA (Progressive web app).
2020
- Offline first
21-
- i18n - three sample languages (english, spanish, japanese).
21+
- i18n - three sample languages (english, spanish, french, japanese).
2222
- SEO good practices.
2323
- Code quality and best practices on each language.
2424

angular.json

+27-1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,15 @@
6969
],
7070
"serviceWorker": true,
7171
"ngswConfigPath": "ngsw-config.json"
72+
},
73+
"es": {
74+
"localize": ["es"]
75+
},
76+
"fr": {
77+
"localize": ["fr"]
78+
},
79+
"ja": {
80+
"localize": ["ja"]
7281
}
7382
}
7483
},
@@ -83,6 +92,15 @@
8392
"configurations": {
8493
"production": {
8594
"browserTarget": "angular-boilerplate:build:production"
95+
},
96+
"es": {
97+
"browserTarget": "angular-boilerplate:build:es"
98+
},
99+
"fr": {
100+
"browserTarget": "angular-boilerplate:build:fr"
101+
},
102+
"ja": {
103+
"browserTarget": "angular-boilerplate:build:ja"
86104
}
87105
}
88106
},
@@ -135,11 +153,19 @@
135153
}
136154
}
137155
}
156+
},
157+
"i18n": {
158+
"sourceLocale": "en-US",
159+
"locales": {
160+
"es": "src/locale/messages.es.xlf",
161+
"fr": "src/locale/messages.fr.xlf",
162+
"ja": "src/locale/messages.ja.xlf"
163+
}
138164
}
139165
}
140166
},
141167
"defaultProject": "angular-boilerplate",
142168
"cli": {
143169
"analytics": "1481a11a-ad4d-4bb4-aa48-1d5a54c39a0b"
144170
}
145-
}
171+
}

0 commit comments

Comments
 (0)