UNPKG

@intlayer/chokidar

Version:

Uses chokidar to scan and build Intlayer declaration files into dictionaries based on Intlayer configuration.

33 lines (23 loc) 1.43 kB
--- name: intlayer-compiler description: Intlayer Compiler setup and usage. Configures automatic content extraction for your components without the need to define .content files manually. metadata: author: Intlayer url: https://intlayer.org license: Apache-2.0 category: productivity tags: [i18n, compiler] documentation: https://intlayer.org/doc/compiler support: contact@intlayer.org --- # Intlayer Compiler Skill The **Intlayer Compiler Skill** provides instructions on how to set up and use the Intlayer compiler to automatically extract content from your application. ## Key Features - **Automatic Content Extraction**: All content will be extracted automatically from your components. - **No Manual Content Files**: Alleviates the need to manually create `.content` files. ## Setup and Usage To set up the Intlayer compiler for your project, refer to the documentation for your framework: - [Vite + React Compiler Documentation](https://intlayer.org/doc/environment/vite-and-react/compiler) - [Next.js Compiler Documentation](https://intlayer.org/doc/environment/nextjs/compiler) Once the compiler plugins are properly configured, simply write your translatable strings inline according to the framework's specifics, and the Intlayer compiler will automatically generate the dictionaries. For more information, visit the [Intlayer Compiler Architecture Documentation](https://intlayer.org/doc/compiler).