algolia / algolia/docsearch

Missing i18n support in ToolCall component

Open
#2,851 0 comments 0 reactions 1 assignee Claimed by @dylantientcheu View on GitHub
Dominant language
TypeScript
Stars
4.4k
Forks
439
Avg merge
14h 32m
Merged PRs (30d)
19

Description

## Description

Hello! 👋

In the file [ToolCall.tsx at line 76](https://github.com/algolia/docsearch/blob/104f7d1a986d1aef3d85f8dbca3e7197e66bf067/packages/docsearch-react/src/ToolCall.tsx#L76), the UI text is hardcoded in English:

https://github.com/algolia/docsearch/blob/104f7d1a986d1aef3d85f8dbca3e7197e66bf067/packages/docsearch-react/src/ToolCall.tsx#L76

It would be great if this text could be translated via configuration.

Thank you!

## Environment

- OS: macOS
- Browser: Edge
- DocSearch version: 4.5.3

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.