LibreChat/docs/install/configuration/default_language.md
Fuegovic bce4f41fae
🪪mkdocs: social cards (#1428)
* 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
2023-12-28 17:10:06 -05:00

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