A clother way to transltate your website
Intlayer is an innovative Content Management System (CMS) designed specifically for JavaScript developers. It converts declaration of multilingual JavaScript content into structured dictionaries, making integration into your codebase straightforward and efficient.
component.content.ts
Component.tsx
1// src/component/component.content.ts 2 3import { t, type DeclarationContent } from "intlayer"; 4 5const componentContent: DeclarationContent = { 6 id: "component", 7 title: t({ 8 en: "Title of my component", 9 fr: "Titre de mon component", 10 es: "Título de mi componente", 11 }), 12 content: 13 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.", 14}; 15 16export default componentContent;
Why to chose Inlyayer?
0JavaScript-Powered Content Management
Harness the flexibility of JavaScript to define and manage your content efficiently.
1Type-Safe Environment
Leverage TypeScript to ensure all your content definitions are precise and error-free.
2Declaration at the component level
Keep your translations close to their respective components, enhancing maintainability and clarity.
3Simplified Setup
Get up and running quickly with minimal configuration, especially optimized for Next.js projects.