This module provides a unified language policy for AI integrations within Drupal. It manages active languages, exposes language context to AI services, and normalizes language details, ensuring consistent language handling across various AI tools like Torneo, AI Image Studio, and Grok.
Provides a shared, provider-neutral language policy for Drupal AI and Torneo integrations.
Features
- Installs a curated set of Drupal languages on first enable.
- Exposes active source and target language context to AI consumers.
- Provides normalized language codes, names, text directions, and optional prompt instructions.
- Lets Torneo, AI Image Studio, Grok, and other integrations share one language policy.
Post-Installation
Configure the language policy at /admin/config/services/torneo-ai-language. AI integrations can inject the torneo_ai_language.language_policy service.
Additional Requirements
Requires Drupal 11.3 or later and Drupal AI 1.4 or later.
Similar projects
Translation modules translate content. Torneo AI Language instead provides a shared language-context and prompting policy for multiple AI integrations.
Ask your assistant about Torneo AI Language
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.x-dev | Dev | 11 | Aug 5, 2026 | ||
| 1.0.0-alpha1 | Pre-release | 11 | Aug 5, 2026 |