🌐: Russian Translation (#830)

This commit is contained in:
Marco Beretta 2023-08-25 02:11:27 +02:00 committed by GitHub
parent 007d51ede1
commit 887fec99ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 208 additions and 0 deletions

View file

@ -5,6 +5,7 @@ import Italian from './languages/It';
import Portuguese from './languages/Br';
import Spanish from './languages/Es';
import French from './languages/Fr';
import Russian from './languages/Ru';
// === import additional language files here === //
// New method on String allow using "{\d}" placeholder for
@ -47,6 +48,9 @@ export const getTranslations = (langCode: string) => {
if (langCode === 'es') {
return Spanish;
}
if (langCode === 'ru') {
return Russian;
}
// === add conditionals here for additional languages here === //
return English; // default to English