Language Support
Everything language related sits in the languages.json and this contains both the language-specific prompts as well as the text used for console output. Out of the box you get: Italian, English, Dutch, German, Portuguese, Simplified Chinese and Spanish. You can easily add additional languages, simply ask Copilot, Gemini or any AI to translate the JSON.
When a document is ingested Knwler will automatically detect the language and use the appropriate locale, if available.
The localization contains both the prompts, the HTML labels and the console elements (used by the CLI). The format is simple:
{
"name":"en",
"prompts": [],
"ui":[],
"console":[]
}