Files
LocalAI/core/schema
Ettore Di Giacinto 8df6954c5a feat(chats): translate capability titles and refusal texts by code
The access view, the preview and the kinds call returned English text
for each capability and each refusal. They now add the same text in the
language of the request (lang query, then Accept-Language), in new
localized_* fields. Codes, English fields and the model-facing text stay
as they were.

The texts live in the new connectortext package, one JSON file per
language (it, de, es, fr, id, ko, pt-BR, zh-CN), keyed by capability
and by refusal code. A test fails when a capability or a code lacks a
text in any language, or when {action} is lost.

The shared connector page asks for the page language and shows the
localized fields, with English as the fallback for each field.

Assisted-by: Claude:claude-sonnet-5-5
2026-11-05 09:16:07 +00:00
..
2025-06-15 14:56:52 +02:00
2026-03-30 00:47:27 +02:00