feat(i18n): add French language support and enhance localization

- Introduced French as a supported language across the application, updating locale files and adding translations for various components.
- Enhanced language handling logic to accommodate French, ensuring proper detection and fallback mechanisms.
- Updated UI elements to include French language options, improving accessibility for French-speaking users.
- Refactored SEO handling to include French in hreflang links, enhancing search engine indexing for multilingual content.
- Added new scripts for managing French translations and ensuring consistency across language files.
This commit is contained in:
Torsten Schulz (local)
2026-04-07 18:04:03 +02:00
parent 9370e0cb14
commit d7f7f09d4d
56 changed files with 5220 additions and 175 deletions

View File

@@ -213,14 +213,14 @@ export default {
},
conditionLabel(value) {
const v = Number(value) || 0;
if (v >= 95) return 'Ausgezeichnet'; // 95100
if (v >= 72) return 'Sehr gut'; // 7294
if (v >= 54) return 'Gut'; // 5471
if (v >= 39) return 'Mäßig'; // 3953
if (v >= 22) return 'Schlecht'; // 2238
if (v >= 6) return 'Sehr schlecht'; // 621
if (v >= 1) return 'Katastrophal'; // 15
return 'Unbekannt';
if (v >= 95) return this.$t('falukant.conditionBand.excellent');
if (v >= 72) return this.$t('falukant.conditionBand.veryGood');
if (v >= 54) return this.$t('falukant.conditionBand.good');
if (v >= 39) return this.$t('falukant.conditionBand.moderate');
if (v >= 22) return this.$t('falukant.conditionBand.bad');
if (v >= 6) return this.$t('falukant.conditionBand.veryBad');
if (v >= 1) return this.$t('falukant.conditionBand.catastrophic');
return this.$t('falukant.conditionBand.unknown');
},
houseStyle(position, picSize) {
const columns = 3;