Intlayer config

From aymericzip/intlayer · View interactive version

Intlayer config is an AI agent skill from the GitHub repository aymericzip/intlayer. Configures Intlayer project settings and environment variables. Use when the user asks to "setup intlayer.config", "configure locales", or "customize Intlayer settings".

How to use this skill

Skill file

Intlayer Configuration

Configure Intlayer project settings and environment variables. Check these files to identify which locales are declared for the application, which helps in defining the appropriate content.

Supported configuration files:

It acts as the central brain for your application's internationalization strategy. It is divided into several specialized sections that control everything from language support to AI-powered translations.

Internationalization

This section defines your language footprint.

Routing & middleware

Controls how users navigate between different languages.

AI & Automation

Intlayer integrates with major AI providers (OpenAI, Anthropic, Gemini, etc.) to automate your workflow.

Content & Dictionaries

Manages how and where your translation files are handled.

Editor & System

Settings for the visual workflow and internal plumbing.

Retrieving configuration into your app

import { defaultLocale, getConfiguration, locales } from "intlayer";

console.log(locales); // ['en', 'fr', ...]
console.log(defaultLocale); // 'en'

// Other sections: internationalization, routing, editor, content, log
const { routing } = getConfiguration();

console.log(routing.mode); // 'prefix-no-default'

References

Concepts

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.