Skip to content

Conversation

rubentalstra
Copy link
Collaborator

@rubentalstra rubentalstra commented Jul 3, 2025

Summary

Docs:

This pull request adds support for three new languages—Armenian, Latvian, and Uyghur—across the application's language selector and localization files. The changes include updates to the language selector component, English translations, and the initialization of new translation files for the added languages.

Language support updates:

  • Language Selector Component (client/src/components/Nav/SettingsTabs/General/General.tsx):

    • Added Armenian (hy-AM), Latvian (lv-LV), and Uyghur (ug) to the list of selectable languages. [1] [2]
  • English Translation File (client/src/locales/en/translation.json):

    • Added English translations for the new languages: Armenian ("Հայերեն"), Latvian ("Latviski"), and Uyghur ("Uyƣur tili").
  • Localization Initialization (client/src/locales/i18n.ts):

    • Imported and registered the new translation files (hy, lv, ug) in the localization resources. [1] [2]
  • New Translation Files:

    • Created empty translation files for Armenian (client/src/locales/hy/translation.json), Latvian (client/src/locales/lv/translation.json), and Uyghur (client/src/locales/ug/translation.json) as placeholders for future translations.

Change Type

  • Translation update

Checklist

  • My code adheres to this project's style guidelines
  • I have performed a self-review of my own code
  • I have commented in any complex areas of my code
  • I have made pertinent documentation changes
  • My changes do not introduce new warnings
  • I have written tests demonstrating that my changes are effective or that my feature works
  • Local unit tests pass with my changes
  • Any changes dependent on mine have been merged and published in downstream modules.
  • A pull request for updating the documentation has been submitted.

@rubentalstra rubentalstra self-assigned this Jul 3, 2025
@rubentalstra rubentalstra added the 🌍 i18n Language label Jul 3, 2025
@rubentalstra rubentalstra changed the title ✨ feat: Add support for Armenian, Latvian, and Uyghur languages ✨ feat: Add support for Armenian, Latvian, and Uyghur languages Jul 3, 2025
@rubentalstra rubentalstra requested a review from danny-avila July 3, 2025 14:43
@rubentalstra rubentalstra marked this pull request as ready for review July 3, 2025 14:43
@danny-avila danny-avila changed the base branch from main to dev July 3, 2025 15:16
@danny-avila danny-avila merged commit 077224b into dev Jul 3, 2025
6 checks passed
@danny-avila danny-avila deleted the i18n/added-Uyghur-Latvian-and-Armenian branch July 3, 2025 15:16
miguelwon pushed a commit to miguelwon/LibreChat that referenced this pull request Jul 9, 2025
kenshinsamue pushed a commit to intelequia/LibreChat that referenced this pull request Aug 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌍 i18n Language
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New Language Request: Armenian New Language Request: Latvian New Language Request: Uyghur
2 participants