added russian language issue #86

This commit is contained in:
chrilep
2026-03-24 11:35:53 +01:00
parent ddbeadd3c8
commit 808328f5a4
13 changed files with 2411 additions and 2 deletions
+2
View File
@@ -11,6 +11,7 @@ import itMessages from '@/locales/it/common.json';
import deMessages from '@/locales/de/common.json';
import nlMessages from '@/locales/nl/common.json';
import ptMessages from '@/locales/pt/common.json';
import ruMessages from '@/locales/ru/common.json';
// Pre-loaded translations (loaded at build time, not runtime)
const ALL_MESSAGES = {
@@ -22,6 +23,7 @@ const ALL_MESSAGES = {
de: deMessages,
nl: nlMessages,
pt: ptMessages,
ru: ruMessages,
};
interface IntlProviderProps {
+2 -1
View File
@@ -16,7 +16,8 @@ export function LanguageSwitcher({ className }: { className?: string }) {
{ value: 'it', label: 'Italiano' },
{ value: 'de', label: 'Deutsch' },
{ value: 'nl', label: 'Nederlands' },
{ value: 'pt', label: 'Português' }
{ value: 'pt', label: 'Português' },
{ value: 'ru', label: 'Русский' }
];
return (
+3
View File
@@ -32,6 +32,9 @@ export default getRequestConfig(async ({ requestLocale }) => {
case 'pt':
messages = (await import('../locales/pt/common.json')).default;
break;
case 'ru':
messages = (await import('../locales/ru/common.json')).default;
break;
default:
messages = (await import('../locales/en/common.json')).default;
}
+1 -1
View File
@@ -1,7 +1,7 @@
import { defineRouting } from 'next-intl/routing';
export const routing = defineRouting({
locales: ['en', 'fr', 'de', 'es', 'it', 'ja', 'nl', 'pt'],
locales: ['en', 'fr', 'de', 'es', 'it', 'ja', 'nl', 'pt', 'ru'],
defaultLocale: 'en',
localePrefix: 'never'
});
+3
View File
@@ -583,6 +583,7 @@
"german": "Deutsch",
"dutch": "Nederlands",
"portuguese": "Português",
"russian": "Russisch",
"select_language": "Sprache auswählen",
"switch_to_english": "Zu Englisch wechseln",
"switch_to_french": "Zu Französisch wechseln",
@@ -592,6 +593,7 @@
"switch_to_german": "Zu Deutsch wechseln",
"switch_to_dutch": "Zu Niederländisch wechseln",
"switch_to_portuguese": "Zu Portugiesisch wechseln",
"switch_to_russian": "Zu Russisch wechseln",
"switching": "Sprache wird gewechselt..."
},
"settings": {
@@ -2329,3 +2331,4 @@
"quota_desc": "Verfolgen Sie Ihre Postfachgröße hier. Der Kreis füllt sich mit zunehmendem Verbrauch."
}
}
+3
View File
@@ -583,6 +583,7 @@
"german": "Deutsch",
"dutch": "Nederlands",
"portuguese": "Português",
"russian": "Russian",
"select_language": "Select language",
"switch_to_english": "Switch to English",
"switch_to_french": "Switch to French",
@@ -592,6 +593,7 @@
"switch_to_german": "Switch to German",
"switch_to_dutch": "Switch to Dutch",
"switch_to_portuguese": "Switch to Portuguese",
"switch_to_russian": "Switch to Russian",
"switching": "Changing language..."
},
"settings": {
@@ -2374,3 +2376,4 @@
"quota_desc": "Track your mailbox size here. The circle fills up as you use more space."
}
}
+3
View File
@@ -583,6 +583,7 @@
"german": "Deutsch",
"dutch": "Nederlands",
"portuguese": "Português",
"russian": "Ruso",
"select_language": "Seleccionar idioma",
"switch_to_english": "Cambiar a inglés",
"switch_to_french": "Cambiar a francés",
@@ -592,6 +593,7 @@
"switch_to_german": "Cambiar a alemán",
"switch_to_dutch": "Cambiar a neerlandés",
"switch_to_portuguese": "Cambiar a portugués",
"switch_to_russian": "Cambiar a ruso",
"switching": "Cambiando idioma..."
},
"settings": {
@@ -2329,3 +2331,4 @@
"quota_desc": "Controla el tamaño de tu buzón aquí. El círculo se llena a medida que usas más espacio."
}
}
+3
View File
@@ -583,6 +583,7 @@
"german": "Deutsch",
"dutch": "Nederlands",
"portuguese": "Português",
"russian": "Russe",
"select_language": "Sélectionner la langue",
"switch_to_english": "Passer à l'anglais",
"switch_to_french": "Passer au français",
@@ -592,6 +593,7 @@
"switch_to_german": "Passer à l'allemand",
"switch_to_dutch": "Passer au néerlandais",
"switch_to_portuguese": "Passer au portugais",
"switch_to_russian": "Passer au russe",
"switching": "Changement de langue..."
},
"settings": {
@@ -2329,3 +2331,4 @@
"quota_desc": "Suivez la taille de votre boîte mail ici. Le cercle se remplit au fur et à mesure que vous utilisez plus d'espace."
}
}
+3
View File
@@ -583,6 +583,7 @@
"german": "Deutsch",
"dutch": "Nederlands",
"portuguese": "Português",
"russian": "Russo",
"select_language": "Seleziona lingua",
"switch_to_english": "Passa all'inglese",
"switch_to_french": "Passa al francese",
@@ -592,6 +593,7 @@
"switch_to_german": "Passa al tedesco",
"switch_to_dutch": "Passa all'olandese",
"switch_to_portuguese": "Passa al portoghese",
"switch_to_russian": "Passa al russo",
"switching": "Cambio lingua in corso..."
},
"settings": {
@@ -2329,3 +2331,4 @@
"quota_desc": "Monitora le dimensioni della tua casella qui. Il cerchio si riempie man mano che utilizzi più spazio."
}
}
+3
View File
@@ -583,6 +583,7 @@
"german": "Deutsch",
"dutch": "Nederlands",
"portuguese": "Português",
"russian": "ロシア語",
"select_language": "言語を選択",
"switch_to_english": "英語に切り替え",
"switch_to_french": "フランス語に切り替え",
@@ -592,6 +593,7 @@
"switch_to_german": "ドイツ語に切り替え",
"switch_to_dutch": "オランダ語に切り替え",
"switch_to_portuguese": "ポルトガル語に切り替え",
"switch_to_russian": "ロシア語に切り替え",
"switching": "言語を変更中..."
},
"settings": {
@@ -2329,3 +2331,4 @@
"quota_desc": "メールボックスのサイズをここで確認できます。使用量が増えるとサークルが満たされます。"
}
}
+3
View File
@@ -583,6 +583,7 @@
"german": "Deutsch",
"dutch": "Nederlands",
"portuguese": "Português",
"russian": "Russisch",
"select_language": "Selecteer taal",
"switch_to_english": "Overschakelen naar Engels",
"switch_to_french": "Overschakelen naar Frans",
@@ -592,6 +593,7 @@
"switch_to_german": "Overschakelen naar Duits",
"switch_to_dutch": "Overschakelen naar Nederlands",
"switch_to_portuguese": "Overschakelen naar Portugees",
"switch_to_russian": "Overschakelen naar Russisch",
"switching": "Taal wijzigen..."
},
"settings": {
@@ -2329,3 +2331,4 @@
"quota_desc": "Volg de grootte van uw mailbox hier. De cirkel vult zich naarmate u meer ruimte gebruikt."
}
}
+3
View File
@@ -583,6 +583,7 @@
"german": "Deutsch",
"dutch": "Nederlands",
"portuguese": "Português",
"russian": "Russo",
"select_language": "Selecionar idioma",
"switch_to_english": "Mudar para Inglês",
"switch_to_french": "Mudar para Francês",
@@ -592,6 +593,7 @@
"switch_to_german": "Mudar para Alemão",
"switch_to_dutch": "Mudar para Holandês",
"switch_to_portuguese": "Mudar para Português",
"switch_to_russian": "Mudar para Russo",
"switching": "Alterando idioma..."
},
"settings": {
@@ -2329,3 +2331,4 @@
"quota_desc": "Acompanhe o tamanho da sua caixa de correio aqui. O círculo preenche-se à medida que utiliza mais espaço."
}
}
File diff suppressed because it is too large Load Diff