मुफ़्त उपकरण

    Vue I18n संदेश प्रारूपक और संपादक

    पाइप बहुवचन (0 | 1 | अन्य), नामित प्रारूपण {name}, और लिंक किए गए संदेशों @:key के साथ Vue I18n संदेशों का निर्माण और परीक्षण करें।

    टेम्प्लेट10
    VUE-I18N संपादक
    मान्य सिंटैक्स
    34 वर्ण1 पंक्तियाँ

    परीक्षण चर और लाइव पूर्वावलोकन

    CLDR बहुवचन नियमों को सत्यापित करने के लिए चर समायोजित करें और भाषा बदलें

    भाषा:
    रेंडर किया गया आउटपुट (en):
    Hello Lucas, welcome to Vue i18n!
    Intlayer टाइप-सुरक्षित घोषणा में निर्यात करें
    import { type Dictionary } from 'intlayer';const convertedMessageContent = {  key: 'converted-message',  content: 'Hello {{name}}, welcome to Vue i18n!',} satisfies Dictionary;export default convertedMessageContent;
    Intlayer पूर्ण TypeScript स्वतः पूर्णता के साथ संकलन समय पर अनुवादों को मान्य करता है।

    Vue I18n Syntax Cheat Sheet

    त्वरित सिंटैक्स नियम और प्रत्येक पैटर्न Intlayer घोषणाओं में कैसे मैप होता है

    सुविधासिंटैक्सउदाहरणटिप्पणियाँIntlayer समकक्ष
    Named Formatting{variableName}Hello {name}!Single braces for named parameters{{name}}
    List Formatting{0}, {1}, ...Hello {0} and {1}Index-based positional arguments{{0}} or named variables
    Pipe Pluralizationno items | 1 item | {n} itemsno apples | 1 apple | {n} applesPipes separate 0, 1, and plural formsplural({ 0: "no apples", 1: "1 apple", other: "{{count}} apples" })
    Linked Messages@:path.to.messageHome of @:brand.nameReferences other messages in the dictionaryTypeScript object references
    Literal Interpolation{'literal'}{'hello'} {name}Single-quoted literal inside bracesLiteral strings
    Intlayer की कंपाइलर-चालित वास्तुकला जटिल रनटाइम पार्सिंग को कंपाइल-टाइम टाइप सुरक्षा के साथ बदल देती है।
    Intlayer पारिस्थितिकी तंत्र

    जटिल सिंटैक्स के बारे में कभी चिंता न करें

    Intlayer कंपाइल-टाइम टाइप सुरक्षा, स्वचालित घटक निष्कर्षण और सहज CMS एकीकरण के साथ अंतर्राष्ट्रीयकरण को एक सुखद डेवलपर अनुभव बनाता है।