We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fca29a commit cf116daCopy full SHA for cf116da
packages/angular_devkit/build_angular/src/extract-i18n/index.ts
@@ -63,6 +63,18 @@ async function execute(options: ExtractI18nBuilderOptions, context: BuilderConte
63
options.format = options.i18nFormat;
64
}
65
66
+ switch (options.format) {
67
+ case Format.Xlf:
68
+ case Format.Xlif:
69
+ case Format.Xliff:
70
+ options.format = Format.Xlf;
71
+ break;
72
+ case Format.Xlf2:
73
+ case Format.Xliff2:
74
+ options.format = Format.Xlf2;
75
76
+ }
77
+
78
// We need to determine the outFile name so that AngularCompiler can retrieve it.
79
let outFile = options.outFile || getI18nOutfile(options.format);
80
if (options.outputPath) {
0 commit comments