mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-21 19:00:13 +01:00
Doc update, some i8n fix, Italian translation and a more realistic "chat.openai.com" login page (#634)
* Update user_auth_system.md * Update Landing.tsx * i8n bug fix & added Italian translation --------- Co-authored-by: Danny Avila <110412045+danny-avila@users.noreply.github.com>
This commit is contained in:
parent
c7e57cd3a2
commit
e3bf674cb7
8 changed files with 109 additions and 19 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import English from './languages/Eng';
|
||||
import Chinese from './languages/Zh';
|
||||
import Italy from './languages/It';
|
||||
// === import additional language files here === //
|
||||
|
||||
// input: language code in string
|
||||
|
|
@ -7,6 +8,7 @@ import Chinese from './languages/Zh';
|
|||
export const getTranslations = (langCode: string) => {
|
||||
if (langCode === 'en') return English;
|
||||
if (langCode === 'cn') return Chinese;
|
||||
if (langCode === 'it') return Italy;
|
||||
// === add conditionals here for additional languages here === //
|
||||
return English; // default to English
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue