mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-21 10:50:14 +01:00
🌐: Russian Translation (#830)
This commit is contained in:
parent
007d51ede1
commit
887fec99ca
4 changed files with 208 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue