Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 704 Bytes

default_language.md

File metadata and controls

36 lines (25 loc) · 704 Bytes

Default Language 🌍

How to change the default language

  • Open this file client\src\store\language.js
  • Modify the "default" in the lang variable with your ISO 3166 Alpha-2 code :

Example: from English as default

import { atom } from 'recoil';

const lang = atom({
  key: 'lang',
  default: 'en',
});

export default { lang };

to Italian as default

import { atom } from 'recoil';

const lang = atom({
  key: 'lang',
  default: 'it',
});

export default { lang };

❗If you wish to contribute your own translation to LibreChat, please refer to this document for instructions: Contribute a Translation