locale for web app (#334)

* locale for web app

* more translations

* Rename profiles service to avoid locale conflict

* More translation work

* Lint fix

---------

Co-authored-by: github-action linter <githubaction@githubaction.com>
This commit is contained in:
Brahim Hadricheandgithub-action linter authored and GitHub committed 2024-03-22 17:43:03 -04:00
1 parent 019fde1e67
commit 42dadec020
54 files changed
+538 -151

No files matched your search

@@ -196,6 +196,16 @@ export class LocaleValidationPlugin implements CompilerPlugin {
severity: DiagnosticSeverity.Error,
code: 'LOCALE_MISSING_TRANSLATIONS',
}]);
const xml = missingLocaleValues.reduce((acc, value) => {
acc += `<message>
<source>${value}</source>
<translation>${value}</translation>
</message>\n`;
return acc;
}, '');
program.logger.error(`Add the following to en_US/translations.ts:\n${xml}`);
}
}