Alat i18n Daring

    Pengonversi Format Pesan i18n

    Konversi string terjemahan dan kamus dengan mulus antara ICU MessageFormat, i18next, Vue I18n, Gettext PO, dan Intlayer.

    Muat Contoh
    icu
    ICU Plural with Exact Match
    icu
    ICU Select (Gender / Role)
    icu
    ICU Selectordinal (Rankings)
    vue-i18n
    Vue I18n Pipe Plural
    i18next
    i18next Simple Interpolation
    icu
    ICU Number & Percentage Format
    icu
    HTML / Rich Text Formatting
    icu
    Full JSON Dictionary
    Format Sumberformatjs / next-intl
    79 karakter
    Format Sasaranreact-i18next
    {count, plural, =0 {No items yet} =1 {# item in cart} other {# items in cart}}
    Sintaksis Valid

    Pratinjau Langsung Interaktif & Evaluasi

    Atur nilai uji untuk variabel yang terdeteksi untuk melihat hasil akhir secara langsung.

    Lokal:
    Pratinjau Teks yang Dihasilkan (en):
    1 item in cart

    Perbandingan Format Pesan & Panduan Sintaksis

    Lihat perbandingan interpolasi, bentuk jamak, dan pemformatan berdampingan.

    FiturICU MessageFormati18nextVue I18nIntlayer
    Variabel Sederhana
    Ganti variabel bernama di dalam teks
    Hello {name}!Hello {{name}}!Hello {name}!Hello {{name}}!
    Bentuk Jamak CLDR
    Aturan jamak berbasis kategori (one, few, many, other)
    {count, plural, one {# item} other {# items}}{count, plural, one {# item} other {# items}}1 item | {count} itemsplural({ one: '{{count}} item', other: '{{count}} items' })
    Bentuk Jamak Kecocokan Tepat
    Angka tertentu seperti 0, 1 dipetakan secara eksplisit
    {count, plural, =0 {No items} other {# items}}{count, plural, =0 {No items} other {# items}}No items | {count} itemsenu({ '0': 'No items', fallback: '{{count}} items' })
    Select / Gender
    Pencocokan kondisi string
    {gender, select, male {He} female {She} other {They}}{gender, select, male {He} female {She} other {They}}{gender: {male: "He", female: "She"}}gender({ male: 'He', female: 'She', fallback: 'They' })
    Format Angka / Persentase
    Gaya pemformatan numerik yang dilokalkan
    {val, number, percent}{{val, percent}}$n(val, 'percent'){val, number, percent}
    HTML / Teks Kaya
    Tag markup dipertahankan untuk pemformatan
    Read <strong>{doc}</strong>Read <1>{{doc}}</1><i18n-t> or raw HTMLhtml('Read <strong>{{doc}}</strong>')

    Kompilasi Aman Tipe

    Berbeda dengan sistem lama, Intlayer memberlakukan kompilasi TypeScript menyeluruh dan pelengkapan otomatis IDE.

    Lapisan Kompatibilitas Universal

    Impor atau ekspor pesan dengan mulus dari Next-intl, FormatJS, i18next, atau Nuxt tanpa penguncian vendor.

    CMS Visual & Terjemahan AI

    Konten yang dideklarasikan di Intlayer dapat diedit secara visual secara real-time atau diterjemahkan secara otomatis ke 18+ bahasa melalui pipeline AI.

    Ekosistem Intlayer

    Migrasi ke Intlayer untuk Keamanan Tipe Penuh

    Deklarasikan terjemahan di samping kode Anda dan gunakan CMS visual.