5 dépôts
Libraries that implement ICU MessageFormat standards for handling complex linguistic variations.
Distinct from JavaScript Utility Libraries: Distinct from general utility libraries: focuses specifically on ICU MessageFormat implementation for pluralization and gender-based text.
Explore 5 awesome GitHub repositories matching web development · Message Format Libraries. Refine with filters or upvote what's useful.
react-intl is a React internationalization framework and locale-aware formatting tool. It serves as an i18n message formatting library and part of the FormatJS ecosystem, providing components and APIs to format dates, numbers, and messages within React applications. The framework uses the native browser Internationalization API to ensure numeric and temporal data adheres to specific cultural conventions. It implements a system for translating user-facing text and interpolating variables using standardized ICU message syntax. The project covers the broader requirements of React UI localizatio
Implements ICU MessageFormat standards to handle complex linguistic variations and variable interpolation.
FormatJS is an internationalization framework and library designed for building web applications that support multiple languages and regional formats. It provides a comprehensive suite of tools for managing the translation workflow, including the extraction of translatable strings from source code and the compilation of human-readable templates into optimized JavaScript functions. The project distinguishes itself by implementing the ICU MessageFormat standard, which enables the handling of complex linguistic requirements such as pluralization and gender-based text variations. By utilizing a b
Implements ICU MessageFormat standards to handle complex linguistic requirements like pluralization and gender variations.
react-i18next is an internationalization framework that integrates the i18next ecosystem into React applications. It provides a system for replacing hardcoded strings with dynamic keys to support multiple languages across a user interface. The library includes an ICU message formatter for handling complex pluralization and gender-based translations. It features a localization management interface that allows for synchronizing translation keys with remote platforms and performing in-context content editing. The project covers server-side rendering localization with request-isolated translatio
Implements the ICU MessageFormat standard for handling complex pluralization and gender-based translations.
Lingui is a JavaScript internationalization library that provides a framework-agnostic core with bindings for React, SolidJS, Svelte, Astro, and other JavaScript frameworks. It operates through a compile-time message extraction pipeline that scans source files for translatable strings, generates standard PO, JSON, or CSV catalog files, and compiles them into optimized JavaScript modules for production deployment. The library uses macro-based message definition to wrap translatable text in source code while preserving context for extraction, and includes a plural rule engine that automatically
Parses and renders messages using ICU MessageFormat syntax for plurals, selectors, and rich-text placeholders.
next-intl est un framework d'internationalisation pour les applications Next.js. Il fournit un système pour gérer les traductions, le routage localisé et le formatage de messages ICU afin de délivrer du contenu multilingue à travers les composants serveur et client. Le projet se distingue par son accent sur l'expérience développeur et la sécurité des types, utilisant un validateur de traduction TypeScript qui génère des fichiers de déclaration à partir de messages JSON pour une validation des clés à la compilation. Il rationalise les flux de travail de traduction avec des outils pour extraire automatiquement les chaînes de caractères du code source vers des fichiers de messages et synchroniser ces bundles avec des services de localisation externes. Le framework couvre un large éventail de capacités, incluant la gestion du routage sensible à la locale pour des préfixes d'URL et un mapping de domaine optimisés pour le SEO, ainsi qu'un formatage complet des données pour les dates, les nombres et les listes. Il prend en charge le formatage complexe de messages utilisant la syntaxe ICU pour les pluriels et le genre, et fournit des utilitaires pour gérer les mises en page de droite à gauche (RTL) et les métadonnées de page localisées. La bibliothèque s'intègre aux API d'internationalisation natives de JavaScript et propose une intégration Storybook pour prévisualiser les composants localisés pendant le développement.
Uses ICU message syntax to handle complex linguistic nuances such as plurals and gender.