# Internationalization

# Internationalization

Curiosity Workspace supports multi-language data and interfaces to serve global organizations.

# Multi-language Search

To support search in multiple languages:

  • Language Analyzers: Configure specific analyzers for different languages (e.g., English, German, French) in your search settings.
  • Field Mapping: Use language-specific fields for translated content to ensure accurate stemming and tokenization. Build user interfaces that can adapt to the user preferred language.

# Multilingual Models

When using AI features:

  • Select embedding models that support multiple languages (multilingual embeddings).
  • Configure LLM prompts to handle input and generate output in the desired language.

# Interface Localization

The Workspace UI can be localized by:

  • Updating the display labels in your configuration.
  • Providing translated metadata for node schemas and categories.

Curiosity Workspace front-ends use the curiosity-ai/tntc tool to automatically extract strings tagged with .t(), using the syntax:

using TNT;
using static TNT.T;

// ...

var translatedString = "Hello World".t();
var interpolatedString = t($"Today is {DateTime.Now}");

# Configuring Language Support

  1. Go to Admin → Workspace Configuration.
  2. Define the Default Language.
  3. Add Supported Languages to enable specific analyzers and features.
  4. Update your ingestion pipelines to detect or specify the language of incoming data.