From 6857e0314f05b67cb70bea7f6e45dff99b007757 Mon Sep 17 00:00:00 2001
From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com>
Date: Sun, 28 May 2023 22:48:27 +0200
Subject: [PATCH] Feature/add support for localized routes in spanish (#2015)
* Add support for localized routes in Spanish
* Update changelog
---
CHANGELOG.md | 6 ++
apps/client/src/app/app-routing.module.ts | 11 +++-
.../app/pages/faq/faq-page-routing.module.ts | 2 +-
apps/client/src/assets/sitemap.xml | 66 +++++++++++++++++--
apps/client/src/locales/messages.de.xlf | 2 +-
apps/client/src/locales/messages.es.xlf | 4 +-
apps/client/src/locales/messages.fr.xlf | 2 +-
apps/client/src/locales/messages.it.xlf | 2 +-
apps/client/src/locales/messages.nl.xlf | 2 +-
apps/client/src/locales/messages.pt.xlf | 2 +-
apps/client/src/locales/messages.xlf | 2 +-
11 files changed, 86 insertions(+), 15 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0cd53451..3d722154 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
+
+### Added
+
+- Added support for localized routes in Spanish (`es`)
+
## 1.273.0 - 2023-05-28
### Added
diff --git a/apps/client/src/app/app-routing.module.ts b/apps/client/src/app/app-routing.module.ts
index 61a776d6..c0f87abf 100644
--- a/apps/client/src/app/app-routing.module.ts
+++ b/apps/client/src/app/app-routing.module.ts
@@ -11,6 +11,7 @@ const routes: Routes = [
'a-propos',
'informazioni-su',
'over',
+ 'sobre',
'ueber-uns'
].map((path) => ({
path,
@@ -23,6 +24,7 @@ const routes: Routes = [
'a-propos/changelog',
'informazioni-su/changelog',
'over/changelog',
+ 'sobre/changelog',
'ueber-uns/changelog'
].map((path) => ({
path,
@@ -37,6 +39,7 @@ const routes: Routes = [
'a-propos/politique-de-confidentialite',
'informazioni-su/informativa-sulla-privacy',
'over/privacybeleid',
+ 'sobre/politica-de-privacidad',
'ueber-uns/datenschutzbestimmungen'
].map((path) => ({
path,
@@ -176,6 +179,7 @@ const routes: Routes = [
'domande-piu-frequenti',
'foire-aux-questions',
'haeufig-gestellte-fragen',
+ 'preguntas-mas-frecuentes',
'vaak-gestelde-vragen'
].map((path) => ({
path,
@@ -186,6 +190,7 @@ const routes: Routes = [
'features',
/////
'fonctionnalites',
+ 'funcionalidades',
'funzionalita',
'kenmerken'
].map((path) => ({
@@ -206,6 +211,7 @@ const routes: Routes = [
'maerkte',
'marches',
'markten',
+ 'mercados',
'mercati'
].map((path) => ({
path,
@@ -236,6 +242,7 @@ const routes: Routes = [
...[
'pricing',
/////
+ 'precios',
'preise',
'prezzi',
'prijzen',
@@ -253,7 +260,8 @@ const routes: Routes = [
'enregistrement',
'iscrizione',
'registratie',
- 'registrierung'
+ 'registrierung',
+ 'registro'
].map((path) => ({
path,
loadChildren: () =>
@@ -265,6 +273,7 @@ const routes: Routes = [
'resources',
/////
'bronnen',
+ 'recursos',
'ressourcen',
'ressources',
'risorse'
diff --git a/apps/client/src/app/pages/faq/faq-page-routing.module.ts b/apps/client/src/app/pages/faq/faq-page-routing.module.ts
index 52deddb2..11a3a912 100644
--- a/apps/client/src/app/pages/faq/faq-page-routing.module.ts
+++ b/apps/client/src/app/pages/faq/faq-page-routing.module.ts
@@ -9,7 +9,7 @@ const routes: Routes = [
canActivate: [AuthGuard],
component: FaqPageComponent,
path: '',
- title: $localize`FAQ`
+ title: $localize`Frequently Asked Questions (FAQ)`
}
];
diff --git a/apps/client/src/assets/sitemap.xml b/apps/client/src/assets/sitemap.xml
index f72f0d66..30d81d8a 100644
--- a/apps/client/src/assets/sitemap.xml
+++ b/apps/client/src/assets/sitemap.xml
@@ -5,7 +5,7 @@
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
- https://ghostfol.io
+ https://ghostfol.io/de
2023-05-27T00:00:00+00:00
@@ -56,6 +56,10 @@
https://ghostfol.io/de/ueber-uns/changelog
2023-05-27T00:00:00+00:00
+
+ https://ghostfol.io/en
+ 2023-05-27T00:00:00+00:00
+
https://ghostfol.io/en/about
2023-05-27T00:00:00+00:00
@@ -112,10 +116,6 @@
https://ghostfol.io/en/blog/2023/05/unlock-your-financial-potential-with-ghostfolio
2023-05-27T00:00:00+00:00
-
- https://ghostfol.io/en/demo
- 2023-05-27T00:00:00+00:00
-
https://ghostfol.io/en/faq
2023-05-27T00:00:00+00:00
@@ -144,6 +144,54 @@
https://ghostfol.io/en/resources
2023-05-27T00:00:00+00:00
+
+ https://ghostfol.io/es
+ 2023-05-27T00:00:00+00:00
+
+
+ https://ghostfol.io/es/funcionalidades
+ 2023-05-27T00:00:00+00:00
+
+
+ https://ghostfol.io/es/mercados
+ 2023-05-27T00:00:00+00:00
+
+
+ https://ghostfol.io/es/open
+ 2023-05-27T00:00:00+00:00
+
+
+ https://ghostfol.io/es/precios
+ 2023-05-27T00:00:00+00:00
+
+
+ https://ghostfol.io/es/preguntas-mas-frecuentes
+ 2023-05-27T00:00:00+00:00
+
+
+ https://ghostfol.io/es/recursos
+ 2023-05-27T00:00:00+00:00
+
+
+ https://ghostfol.io/es/registro
+ 2023-05-27T00:00:00+00:00
+
+
+ https://ghostfol.io/es/sobre
+ 2023-05-27T00:00:00+00:00
+
+
+ https://ghostfol.io/es/sobre/changelog
+ 2023-05-27T00:00:00+00:00
+
+
+ https://ghostfol.io/es/sobre/politica-de-privacidad
+ 2023-05-27T00:00:00+00:00
+
+
+ https://ghostfol.io/fr
+ 2023-05-27T00:00:00+00:00
+
https://ghostfol.io/fr/a-propos
2023-05-27T00:00:00+00:00
@@ -184,6 +232,10 @@
https://ghostfol.io/fr/ressources
2023-05-27T00:00:00+00:00
+
+ https://ghostfol.io/it
+ 2023-05-27T00:00:00+00:00
+
https://ghostfol.io/it/domande-piu-frequenti
2023-05-27T00:00:00+00:00
@@ -224,6 +276,10 @@
https://ghostfol.io/it/risorse
2023-05-27T00:00:00+00:00
+
+ https://ghostfol.io/nl
+ 2023-05-27T00:00:00+00:00
+
https://ghostfol.io/nl/bronnen
2023-05-27T00:00:00+00:00
diff --git a/apps/client/src/locales/messages.de.xlf b/apps/client/src/locales/messages.de.xlf
index 48b98e6b..96dea4f9 100644
--- a/apps/client/src/locales/messages.de.xlf
+++ b/apps/client/src/locales/messages.de.xlf
@@ -1706,7 +1706,7 @@
- FAQ
+ Frequently Asked Questions (FAQ)
Häufig gestellte Fragen (FAQ)
apps/client/src/app/pages/faq/faq-page-routing.module.ts
diff --git a/apps/client/src/locales/messages.es.xlf b/apps/client/src/locales/messages.es.xlf
index 7f9533d7..76c926f8 100644
--- a/apps/client/src/locales/messages.es.xlf
+++ b/apps/client/src/locales/messages.es.xlf
@@ -1707,8 +1707,8 @@
- FAQ
- FAQ
+ Frequently Asked Questions (FAQ)
+ Preguntas más frecuentes (FAQ)
apps/client/src/app/pages/faq/faq-page-routing.module.ts
12
diff --git a/apps/client/src/locales/messages.fr.xlf b/apps/client/src/locales/messages.fr.xlf
index 7e79f42e..66434f87 100644
--- a/apps/client/src/locales/messages.fr.xlf
+++ b/apps/client/src/locales/messages.fr.xlf
@@ -2114,7 +2114,7 @@
- FAQ
+ Frequently Asked Questions (FAQ)
Foire aux questions (FAQ)
apps/client/src/app/pages/faq/faq-page-routing.module.ts
diff --git a/apps/client/src/locales/messages.it.xlf b/apps/client/src/locales/messages.it.xlf
index 53b3ce4b..1f6297fc 100644
--- a/apps/client/src/locales/messages.it.xlf
+++ b/apps/client/src/locales/messages.it.xlf
@@ -1707,7 +1707,7 @@
- FAQ
+ Frequently Asked Questions (FAQ)
Domande più frequenti (FAQ)
apps/client/src/app/pages/faq/faq-page-routing.module.ts
diff --git a/apps/client/src/locales/messages.nl.xlf b/apps/client/src/locales/messages.nl.xlf
index a958def2..7866b1c7 100644
--- a/apps/client/src/locales/messages.nl.xlf
+++ b/apps/client/src/locales/messages.nl.xlf
@@ -1706,7 +1706,7 @@
- FAQ
+ Frequently Asked Questions (FAQ)
Vaak gestelde vragen (FAQ)
apps/client/src/app/pages/faq/faq-page-routing.module.ts
diff --git a/apps/client/src/locales/messages.pt.xlf b/apps/client/src/locales/messages.pt.xlf
index 39b67915..6816ed17 100644
--- a/apps/client/src/locales/messages.pt.xlf
+++ b/apps/client/src/locales/messages.pt.xlf
@@ -2058,7 +2058,7 @@
- FAQ
+ Frequently Asked Questions (FAQ)
FAQ
apps/client/src/app/pages/faq/faq-page-routing.module.ts
diff --git a/apps/client/src/locales/messages.xlf b/apps/client/src/locales/messages.xlf
index f0180872..46ba52b1 100644
--- a/apps/client/src/locales/messages.xlf
+++ b/apps/client/src/locales/messages.xlf
@@ -1550,7 +1550,7 @@
- FAQ
+ Frequently Asked Questions (FAQ)
apps/client/src/app/pages/faq/faq-page-routing.module.ts
12