From f10dc176f2202baa55f9e4d6c337ca98f4ea0c62 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Thu, 15 Sep 2022 16:58:00 +0200 Subject: [PATCH] Feature/clean up german localization (#1260) * Clean up German localization * Set up Italian * Update changelog --- CHANGELOG.md | 6 + angular.json | 13 +- .../src/app/pages/about/about-page.html | 6 - apps/client/src/locales/messages.de.xlf | 94 +- apps/client/src/locales/messages.it.xlf | 2361 +++++++++++++++++ apps/client/src/locales/messages.xlf | 79 +- 6 files changed, 2424 insertions(+), 135 deletions(-) create mode 100644 apps/client/src/locales/messages.it.xlf diff --git a/CHANGELOG.md b/CHANGELOG.md index 565ca6fed..911f86b49 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Unreleased + +### Changed + +- Improved the language localization for German (`de`) + ## 1.193.0 - 14.09.2022 ### Changed diff --git a/angular.json b/angular.json index 8f6f6e3de..dd37696ff 100644 --- a/angular.json +++ b/angular.json @@ -136,6 +136,10 @@ "baseHref": "/en/", "localize": ["en"] }, + "development-it": { + "baseHref": "/it/", + "localize": ["it"] + }, "production": { "fileReplacements": [ { @@ -180,6 +184,9 @@ "development-en": { "browserTarget": "client:build:development-en" }, + "development-it": { + "browserTarget": "client:build:development-it" + }, "production": { "browserTarget": "client:build:production" } @@ -191,7 +198,7 @@ "browserTarget": "client:build", "includeContext": true, "outputPath": "src/locales", - "targetFiles": ["messages.de.xlf"] + "targetFiles": ["messages.de.xlf", "messages.it.xlf"] } }, "lint": { @@ -214,6 +221,10 @@ "de": { "baseHref": "/de/", "translation": "apps/client/src/locales/messages.de.xlf" + }, + "it": { + "baseHref": "/it/", + "translation": "apps/client/src/locales/messages.it.xlf" } }, "sourceLocale": "en" diff --git a/apps/client/src/app/pages/about/about-page.html b/apps/client/src/app/pages/about/about-page.html index 0df161a5d..095d77a02 100644 --- a/apps/client/src/app/pages/about/about-page.html +++ b/apps/client/src/app/pages/about/about-page.html @@ -108,7 +108,6 @@