Globalize es una librería de internacionalización para JavaScript que utiliza datos JSON del Unicode Common Locale Data Repository (CLDR) para proporcionar servicios de localización. Funciona como un formateador de cadenas consciente de la configuración regional y como un sistema para transformar fechas, horas, monedas y valores numéricos en cadenas basadas en patrones regionales específicos.
Las características principales de jquery/globalize son: JavaScript Internationalization Libraries, Locale-Aware Currency Formatting, Regional Number Formatting, Locale-Aware Date and Number Formatting, Date Localizations, Locale-Aware String Formatting, CLDR Data Integration, Pluralization and Interpolation Engines.
Las alternativas de código abierto para jquery/globalize incluyen: globalizejs/globalize — Globalize is a JavaScript internationalization library and Unicode CLDR localization engine. It provides a toolkit for… airbnb/polyglot.js — Polyglot.js is a JavaScript internationalization library and client-side translation framework. It provides a system… lingui/js-lingui — Lingui is a JavaScript internationalization library that provides a framework-agnostic core with bindings for React,… i18next/i18next — i18next is a JavaScript localization library and internationalization framework used to translate application text… symfony/translation — Symfony Translation is a PHP library and framework component for internationalizing applications. It provides a… andrewplummer/sugar — Sugar is a JavaScript utility library designed to extend native objects and prototypes with additional methods for…
Globalize is a JavaScript internationalization library and Unicode CLDR localization engine. It provides a toolkit for formatting dates, numbers, and currencies using the Unicode Common Locale Data Repository and IANA time zones. The project features a build-time localization compiler that precompiles rules into static formatters to reduce runtime overhead and bundle size. It includes a system for parsing and formatting complex strings using the ICU MessageFormat syntax, supporting variables, pluralization, and gender inflections. The library covers a broad surface of localization capabiliti
Polyglot.js is a JavaScript internationalization library and client-side translation framework. It provides a system for mapping unique keys to localized strings, allowing applications to translate text into multiple languages. The library includes a pluralization and interpolation engine that handles complex grammatical plural forms based on numeric counts and inserts dynamic variables into translated strings. It supports nested namespaces to organize phrase mappings into logical categories. These utilities cover phrase translation, locale-driven configuration, and the management of multi-l
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
i18next is a JavaScript localization library and internationalization framework used to translate application text into multiple languages. It functions as a dynamic translation manager that handles translation resources, language detection, and the mapping of unique keys to localized strings. The system features a pluralization and interpolation engine that applies language-specific grammatical rules for numeric counts and injects dynamic variables into strings. It utilizes a plugin-based backend architecture to load and cache translation namespaces from various sources, including remote ser