Does docsearch's translates support string template placeholders?
Open
Needs investigation
- Dominant language
- TypeScript
- Stars
- 4.4k
- Forks
- 439
- Avg merge
- 14h 32m
- Merged PRs (30d)
- 19
Description
## Describe the problem
Currently, the `translates` feature in DocSearch does not support string templates with placeholders. For example:
```json
{
"noResultText": "没有找到关于{{keyword}}的内容过"
}
Contributor guide
Research direction
The issue names DocSearch's translates feature but no file, test, or entry point. Start by locating that feature and its existing translation handling, then verify behavior for noResultText containing {{keyword}}. Done means string template placeholders are supported as shown.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- localization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100