diff --git a/aio/content/examples/i18n/doc-files/messages.fr.xlf.html b/aio/content/examples/i18n/doc-files/messages.fr.xlf.html
index c0c0b89a4e..03635103b7 100644
--- a/aio/content/examples/i18n/doc-files/messages.fr.xlf.html
+++ b/aio/content/examples/i18n/doc-files/messages.fr.xlf.html
@@ -41,29 +41,30 @@
-
- The author is
- L'auteur est
+
+
+ The author is
+ L'auteur est
-
- {VAR_SELECT, select, m {male} f {female} o {other} }
- {VAR_SELECT, select, m {un homme} f {une femme} o {autre} }
+
+ {VAR_SELECT, select, male {male} female {female} other {other} }
+ {VAR_SELECT, select, male {un homme} female {une femme} other {autre} }
-
+ Updated: Mis à jour:
-
- {VAR_PLURAL, plural, =0 {just now} =1 {one minute ago} other { minutes ago by {VAR_SELECT, select, m {male} f {female} o {other} }} }
- {VAR_PLURAL, plural, =0 {à l'instant} =1 {il y a une minute} other {il y a minutes par {VAR_SELECT, select, m {un homme} f {une femme} o {autre} }} }
+
+ {VAR_PLURAL, plural, =0 {just now} =1 {one minute ago} other { minutes ago by {VAR_SELECT, select, male {male} female {female} other {other} }} }
+ {VAR_PLURAL, plural, =0 {à l'instant} =1 {il y a une minute} other {il y a minutes par {VAR_SELECT, select, male {un homme} female {une femme} other {autre} }} }
diff --git a/aio/content/examples/i18n/src/app/app.component.html b/aio/content/examples/i18n/src/app/app.component.html
index f15133d2ff..b9512dfc00 100644
--- a/aio/content/examples/i18n/src/app/app.component.html
+++ b/aio/content/examples/i18n/src/app/app.component.html
@@ -23,13 +23,13 @@
-The author is {gender, select, m {male} f {female} o {other}}
+The author is {gender, select, male {male} female {female} other {other}}
Updated: {minutes, plural,
=0 {just now}
=1 {one minute ago}
- other {{{minutes}} minutes ago by {gender, select, m {male} f {female} o {other}}}}
+ other {{{minutes}} minutes ago by {gender, select, male {male} female {female} other {other}}}}
diff --git a/aio/content/examples/i18n/src/app/app.component.ts b/aio/content/examples/i18n/src/app/app.component.ts
index a39745714f..d8e79acf50 100644
--- a/aio/content/examples/i18n/src/app/app.component.ts
+++ b/aio/content/examples/i18n/src/app/app.component.ts
@@ -7,15 +7,15 @@ import { Component } from '@angular/core';
})
export class AppComponent {
minutes = 0;
- gender = 'f';
+ gender = 'female';
fly = true;
logo = 'https://angular.io/assets/images/logos/angular/angular.png';
heroes: string[] = ['Magneta', 'Celeritas', 'Dynama'];
inc(i: number) {
this.minutes = Math.min(5, Math.max(0, this.minutes + i));
}
- male() { this.gender = 'm'; }
- female() { this.gender = 'f'; }
- other() { this.gender = 'o'; }
+ male() { this.gender = 'male'; }
+ female() { this.gender = 'female'; }
+ other() { this.gender = 'other'; }
}
diff --git a/aio/content/examples/i18n/src/locale/messages.fr.xlf b/aio/content/examples/i18n/src/locale/messages.fr.xlf
index 4b16a22496..464488a8c1 100644
--- a/aio/content/examples/i18n/src/locale/messages.fr.xlf
+++ b/aio/content/examples/i18n/src/locale/messages.fr.xlf
@@ -48,23 +48,23 @@
21
-
- The author is
- L'auteur est
+
+ The author is
+ L'auteur est app\app.component.ts27
-
- {VAR_SELECT, select, m {male} f {female} o {other} }
- {VAR_SELECT, select, m {un homme} f {une femme} o {autre} }
+
+ {VAR_SELECT, select, male {male} female {female} other {other} }
+ {VAR_SELECT, select, male {un homme} female {une femme} other {autre} }app\app.component.ts27
-
+ Updated: Mis à jour:
@@ -74,9 +74,9 @@
31
-
- {VAR_PLURAL, plural, =0 {just now} =1 {one minute ago} other { minutes ago by {VAR_SELECT, select, m {male} f {female} o {other} }} }
- {VAR_PLURAL, plural, =0 {à l'instant} =1 {il y a une minute} other {il y a minutes par {VAR_SELECT, select, m {un homme} f {une femme} o {autre} }} }
+
+ {VAR_PLURAL, plural, =0 {just now} =1 {one minute ago} other { minutes ago by {VAR_SELECT, select, male {male} female {female} other {other} }} }
+ {VAR_PLURAL, plural, =0 {à l'instant} =1 {il y a une minute} other {il y a minutes par {VAR_SELECT, select, male {un homme} female {une femme} other {autre} }} }app\app.component.ts31
diff --git a/aio/content/examples/i18n/src/locale/messages.xlf b/aio/content/examples/i18n/src/locale/messages.xlf
index 4275f0bc04..c4e45e5b87 100644
--- a/aio/content/examples/i18n/src/locale/messages.xlf
+++ b/aio/content/examples/i18n/src/locale/messages.xlf
@@ -4,11 +4,11 @@
- Hello i18n!
+ Hello i18n!
- app\app.component.ts
- 4
+ app/app.component.ts
+ 3An introduction header for this sampleUser welcome
@@ -16,58 +16,58 @@
I don't output any element
- app\app.component.ts
- 10
+ app/app.component.ts
+ 9Angular logo
- app\app.component.ts
- 16
+ app/app.component.ts
+ 15Updated
- app\app.component.ts
- 21
+ app/app.component.ts
+ 20{VAR_PLURAL, plural, =0 {just now} =1 {one minute ago} other { minutes ago} }
- app\app.component.ts
- 21
+ app/app.component.ts
+ 20
-
- The author is
+
+ The author is
- app\app.component.ts
- 27
+ app/app.component.ts
+ 26
-
- {VAR_SELECT, select, m {male} f {female} o {other} }
+
+ {VAR_SELECT, select, male {male} female {female} other {other} }
- app\app.component.ts
- 27
+ app/app.component.ts
+ 26
-
+ Updated:
- app\app.component.ts
- 31
+ app/app.component.ts
+ 30
-
- {VAR_PLURAL, plural, =0 {just now} =1 {one minute ago} other { minutes ago by {VAR_SELECT, select, m {male} f {female} o {other} }} }
+
+ {VAR_PLURAL, plural, =0 {just now} =1 {one minute ago} other { minutes ago by {VAR_SELECT, select, male {male} female {female} other {other} }} }
- app\app.component.ts
- 31
+ app/app.component.ts
+ 30