Skip to content

Conversation

ckemmler
Copy link

This PR adds internationalization (i18n) support to the Agent Chat UI project, making it easy to localize the application into multiple languages.

Changes Included:
• Integrated react-intl for internationalization.
• Created a global I18nProvider to manage locale switching dynamically.
• Added a basic LanguageSelector component to allow users to switch languages client-side without page reloads.

Created initial translations for the following languages:
• English (en)
• French (fr)
• Dutch (nl)
• Portuguese (pt)
• Spanish (es)
• Italian (it)
• German (de)
• Russian (ru)

Translated the following UI strings:
• “Send”
• “Hide tool calls”
• “Thread history”
• “Type your message”
• Default locale is set to English (en).

Why?
• Improves accessibility for non-English speakers.
• Prepares the application for wider public and international deployments.
• Provides a scalable structure for adding more translations later.

Copy link

vercel bot commented Apr 28, 2025

@ckemmler is attempting to deploy a commit to the LangChain Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant