4 Repos
Implementations that leverage the native browser Internationalization API for locale-aware formatting and naming.
Distinct from Localized API Responses: The candidates focus on API response translation or local servers, not the use of the Intl browser API for date localization.
Explore 4 awesome GitHub repositories matching web development · Internationalization API Integrations. Refine with filters or upvote what's useful.
next-intl ist ein Internationalisierungs-Framework für Next.js-Anwendungen. Es bietet ein System zur Verwaltung von Übersetzungen, lokalisiertem Routing und ICU-Nachrichtenformatierung, um mehrsprachige Inhalte über Server- und Client-Komponenten hinweg bereitzustellen. Das Projekt zeichnet sich durch den Fokus auf Developer Experience und Typsicherheit aus und nutzt einen TypeScript-Übersetzungsvalidator, der Deklarationsdateien aus JSON-Nachrichten für die Key-Validierung zur Kompilierzeit generiert. Es optimiert Übersetzungsworkflows mit Tools zur automatischen Extraktion von Strings aus dem Quellcode in Nachrichtendateien und zur Synchronisierung dieser Bundles mit externen Lokalisierungsdiensten. Das Framework deckt eine breite Palette an Funktionen ab, einschließlich locale-aware Routing-Management für SEO-freundliche URL-Präfixe und Domain-Mapping sowie umfassende Datenformatierung für Daten, Zahlen und Listen. Es unterstützt komplexe Nachrichtenformatierung mittels ICU-Syntax für Plurale und Geschlechter und bietet Hilfsprogramme zur Verwaltung von Right-to-Left-Layouts und lokalisierten Seiten-Metadaten. Die Bibliothek integriert sich in native JavaScript-Internationalisierungs-APIs und bietet Storybook-Integration zur Vorschau lokalisierter Komponenten während der Entwicklung.
Wraps native JavaScript Internationalization APIs to ensure consistent date, number, and list formatting across runtimes.
Dieses Projekt bietet ein Web-Component-Time-Element, das das Standard-HTML-Tag erweitert, um menschenlesbare relative Zeitstempel und Countdowns anzuzeigen. Es fungiert als Formatierer für relative Zeitangaben und Zeitdauer-Rechner, der Zeitstempel in lokalisierte Strings umwandelt, die sich automatisch im Browser aktualisieren. Das Tool ermöglicht dynamische Zeitstempel-Anzeigen, die basierend auf konfigurierbaren Schwellenwerten von relativen Phrasen zu absoluten Daten wechseln. Es umfasst Funktionen zur Einschränkung der Zeitform, wodurch Zeitstempel ausschließlich als vergangene oder zukünftige Daten angezeigt werden können, und unterstützt die präzise Formatierung von Zeitspannen über Jahre, Monate, Tage, Stunden, Minuten und Sekunden hinweg. Die Implementierung nutzt die native Browser-Internationalization-API für das Rendering von Daten und die Lokalisierung über spezifische IANA-Zeitzonen. Der Status wird über DOM-Attribute verwaltet und ein Intervall-Polling stellt sicher, dass die Zeitanzeigen aktuell bleiben, ohne dass ein Seiten-Refresh erforderlich ist.
Leverages the native browser Internationalization API for locale-aware date and relative time formatting.
react-calendar is a customizable date grid and picker for React applications. It provides an interactive interface for selecting single or multiple dates and navigating between months and years. The component uses browser internationalization APIs to format months and days, enabling multilingual date formatting for different global regions. It allows for external customization through prop-driven render overrides to replace default date cell displays. The library handles the underlying date calculations and state-driven navigation required for scheduling interfaces and date-based grids.
Leverages the native browser Internationalization API for locale-aware date formatting.
Tempo is a JavaScript date manipulation library that provides a suite of tools for parsing, formatting, and calculating dates and times. It serves as a date arithmetic engine, a locale-aware formatter, and a timezone offset manager for native JavaScript date objects. The library includes a dedicated ISO 8601 date parser for validating and converting standardized strings into date objects. It handles geographic normalization through IANA timezone offset management and utilizes the native Internationalization API for region-specific date formatting. The project covers a broad range of date and
Utilizes the browser native Internationalization API for region-specific date formatting and locale-aware name generation.