# Documentation for AI agents This file is generated at build time from the Markdown documentation. Use it to choose the most relevant page before reading the canonical HTML documentation. ## Intl by Before Semicolon URL: https://intl.beforesemicolon.com/ Source: docs/index.md Description: Drop-in internationalization primitives for Web Components, built for readable, composable, runtime-safe localized interfaces. ::: layout landing-hero version="v0.1.0" title="Internationalization" title2="in plain HTML." primaryLabel="Get Started" secondaryLabel="$ npm i @beforesemicolon/intl" === copy Drop-in localization primitives for Web Components. Format messages, numbers, dates, durations, relative time, lists, display names, and plural ## Why Intl? - Intl by Before Semicolon URL: https://intl.beforesemicolon.com/documentation/ Source: docs/documentation/index.md Description: Learn why Intl provides HTML-first localization primitives for Web Components and component-first interfaces. Why Intl? @beforesemicolon/intl gives component-first applications a predictable localization layer. It combines: - runtime-aware locale scoping - message lookup and fallback behavior - formatting helpers for numbers, dates, durations, relative time, names, lists, and plurals Everything is explicit, so you can reason a ## Get Started - Intl by Before Semicolon URL: https://intl.beforesemicolon.com/documentation/get-started Source: docs/documentation/get-started.md Description: Build your first multilingual UI with one runtime scope and reusable formatters. Get started Use this page to get a working localized UI quickly. Start with a runtime scope, then add tags and helper calls as you expand the page. Step 1 — Initialize a locale scope This creates one locale runtime boundary and loads translation files from /locales/en-US.json. Step 2 — Render translated text - Runtime Scope URL: https://intl.beforesemicolon.com/documentation/components/intl-locale Source: docs/documentation/components/intl-locale.md Description: Define locale runtime boundaries, load messages, update document language, and scope child Intl components. - Message Formatter URL: https://intl.beforesemicolon.com/documentation/components/intl-msg Source: docs/documentation/components/intl-msg.md Description: Resolve runtime messages by key with text fallback and placeholder interpolation. - Number Formatter URL: https://intl.beforesemicolon.com/documentation/components/intl-number Source: docs/documentation/components/intl-number.md Description: Format numbers, currencies, percentages, units, compact notation, digit ranges, and numbering systems. - Date & Time Formatter URL: https://intl.beforesemicolon.com/documentation/components/intl-datetime Source: docs/documentation/components/intl-datetime.md Description: Format Date, timestamp, and date string values with Intl.DateTimeFormat options. - Duration Formatter URL: https://intl.beforesemicolon.com/documentation/components/intl-duration Source: docs/documentation/components/intl-duration.md Description: Format millisecond durations with selected fields and long, short, narrow, or digital styles. - Relative Time Formatter URL: https://intl.beforesemicolon.com/documentation/components/intl-relative-time Source: docs/documentation/components/intl-relative-time.md Description: Render relative timestamps or unit offsets with live updates and accessible labels. - List Formatter URL: https://intl.beforesemicolon.com/documentation/components/intl-list Source: docs/documentation/components/intl-list.md Description: Format localized conjunction, disjunction, and unit lists from child text or a value. - Display Names URL: https://intl.beforesemicolon.com/documentation/components/intl-name Source: docs/documentation/components/intl-name.md Description: Render localized names for regions, languages, scripts, and currencies. - Pluralization URL: https://intl.beforesemicolon.com/documentation/components/intl-plural Source: docs/documentation/components/intl-plural.md Description: Select cardinal and ordinal plural text from locale-aware Intl.PluralRules categories.