mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-22 06:00:56 +02:00

* mkdocs plugins: add plugin for social cards and plugin that allow to exclude a folder * docs: fix hyperlinks * mkdocs: social cards (descriptions) for 'contributions' and 'deployment' guides * mkdocs: social cards (descriptions) for all 'index.md' * mkdocs: social cards (descriptions) for 'features' and 'plugins' * mkdocs: social cards (descriptions) for 'general_info' * mkdocs: social cards (descriptions) for 'configuration' * mkdocs: social cards (descriptions) for 'installation' * mkdocs: minor fixes * update librechat.svg * update how_to_contribute.md add reference to the official GitHub documentation
878 B
878 B
title | description | weight |
---|---|---|
🌍 Default Language | How to change LibreChat's default language | -3 |
Default Language 🌍
How to change the default language
- Open this file
client\src\store\language.ts
- Modify the "default" in the lang variable with your locale identifier :
Example: from English as default
import { atom } from 'recoil';
const lang = atom({
key: 'lang',
default: localStorage.getItem('lang') || 'en-US',
});
export default { lang };
to Italian as default
import { atom } from 'recoil';
const lang = atom({
key: 'lang',
default: localStorage.getItem('lang') || 'it-IT',
});
export default { lang };
❗If you wish to contribute your own translation to LibreChat, please refer to this document for instructions: Contribute a Translation