Skip to content

Commit 90501df

Browse files
author
Your Name
committed
Angular Core Deep Dive Course
1 parent ddb035f commit 90501df

File tree

2 files changed

+57
-0
lines changed

2 files changed

+57
-0
lines changed

angular.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,17 @@
5151
"extractLicenses": true,
5252
"vendorChunk": false,
5353
"buildOptimizer": true
54+
},
55+
56+
"fr": {
57+
"aot": true,
58+
"outputPath": "dist/angular-course-fr/",
59+
"i18nFile": "src/locale/messages.fr.xlf",
60+
"i18nFormat": "xlf",
61+
"i18nLocale": "fr",
62+
"i18nMissingTranslation": "ignore"
5463
}
64+
5565
}
5666
},
5767
"serve": {
@@ -62,6 +72,9 @@
6272
"configurations": {
6373
"production": {
6474
"browserTarget": "angular-course:build:production"
75+
},
76+
"fr": {
77+
"browserTarget": "angular-course:build:fr"
6578
}
6679
}
6780
},

src/locale/messages.fr.xlf

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
3+
<file source-language="en" datatype="plaintext" original="ng2.template">
4+
<body>
5+
6+
<trans-unit id="3654d95b03eba8ec9ee0cf68463f50365bf6baa2" datatype="html">
7+
<source>{VAR_SELECT, select, BEGINNER {Beginner} INTERMEDIATE {Intermediate} ADVANCED {Advanced} }</source>
8+
<target>{VAR_SELECT, select, BEGINNER {Débutant} INTERMEDIATE {Intermediare} ADVANCED {Avancé} }</target>
9+
10+
<context-group purpose="location">
11+
<context context-type="sourcefile">app/courses/course-card/course-card.component.html</context>
12+
<context context-type="linenumber">21</context>
13+
</context-group>
14+
</trans-unit>
15+
<trans-unit id="756b2b2744938130877e47fd8e697024cb532092" datatype="html">
16+
<source>Edit Course</source>
17+
<target>Modifier des Cours</target>
18+
<context-group purpose="location">
19+
<context context-type="sourcefile">app/app.component.html</context>
20+
<context context-type="linenumber">13</context>
21+
</context-group>
22+
</trans-unit>
23+
<trans-unit id="ef485631d92fd33527cc7ae600c0b9b07c397825" datatype="html">
24+
<source>{VAR_PLURAL, plural, =0 {No courses available.} =1 {One course is available.} other {A total of <x id="INTERPOLATION" equiv-text="{{coursesTotal}}"/> courses are available.} }</source>
25+
<target>{VAR_PLURAL, plural, =0 {Pas des cours disponible.} =1 {Un cours disponible.} other {Il y a <x id="INTERPOLATION" equiv-text="{{coursesTotal}}"/> cours disponible.} }</target>
26+
<context-group purpose="location">
27+
<context context-type="sourcefile">app/app.component.html</context>
28+
<context context-type="linenumber">16</context>
29+
</context-group>
30+
</trans-unit>
31+
<trans-unit id="welcomeMessage" datatype="html">
32+
<source>
33+
Welcome to the Angular Core Deep Dive Course</source>
34+
<target>Bienvenue au Cours Angular en Détail.</target>
35+
<context-group purpose="location">
36+
<context context-type="sourcefile">app/app.component.html</context>
37+
<context context-type="linenumber">24</context>
38+
</context-group>
39+
<note priority="1" from="description">Greet the user a greeting at the beginning of the course.</note>
40+
<note priority="1" from="meaning">welcome message.</note>
41+
</trans-unit>
42+
</body>
43+
</file>
44+
</xliff>

0 commit comments

Comments
 (0)