awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
globalizejs avatar

globalizejs/globalize

0
View on GitHub↗
4,838 stars·586 forks·JavaScript·MIT·21 viewsglobalizejs.com↗

Globalize

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 capabilities, including bidirectional date and time parsing, number and currency tokenization, and relative time formatting. It manages locale data loading, application-wide language configuration, and message inheritance chains to resolve missing translation keys.

Features

  • JavaScript Internationalization Libraries - Provides a comprehensive JavaScript toolkit for formatting dates, numbers, and currencies using Unicode CLDR and IANA data.
  • Locale-Aware Date Parsing - Transforms localized date strings back into Date objects based on specified formats and locale rules.
  • Regional Number Formatting - Converts numeric values into localized strings with support for percentages and compact notation.
  • Time Zone Management - Imports IANA time zone information to enable accurate regional offsets during date and time processing.
  • Static Generation - Generates static formatters and parsers during build time to reduce runtime overhead and eliminate data loading.
  • IANA Time Zone Database Integrations - Integrates the IANA time zone database to calculate offsets and identifiers for localized date processing.
  • CLDR Data Integration - Integrates official Unicode Common Locale Data Repository standards to drive regional formatting and parsing rules.
  • Pluralization Rules - Resolves and formats messages based on locale-specific pluralization rules to ensure grammatical correctness.
  • ICU Message Parsing - Implements logic for transforming ICU MessageFormat strings into structured trees for interpolation and pluralization.
  • Locale Data Loading - Implements mechanisms for importing necessary Unicode CLDR and IANA time zone data during the application session.
  • Formatter Precompilation - Precompiles localization rules into runtime modules to eliminate the need for shipping large locale data files.
  • Internationalized Date Formatting - Provides locale-aware formatting and parsing to convert date objects into localized strings and vice versa.
  • Localized Message Formatting - Translates message keys into user-readable strings using ICU patterns with support for variables, pluralization, and gender.
  • Locale-Aware Currency Formatting - Transforms numeric values into localized currency strings based on specific currency codes and locale rules.
  • Number Parsing - Transforms localized number strings, including percentages, back into numeric values based on locale-specific separators.
  • Relative Date Formatting - Converts numerical values into localized strings representing relative time periods based on specific time units.
  • Localization Configurations - Allows the definition of a global target language to ensure consistent formatting across all localization calls.
  • Localized Unit Displays - Transforms numeric values into localized unit strings with options for short or narrow formatting.
  • Locale Fallback Chains - Implements prioritized fallback chains to resolve missing translation keys by reverting to parent language bundles.
  • Locale Inheritance Chains - Implements message inheritance chains to resolve missing translation keys by falling back to parent locales.
  • Localization Instance Isolation - Enables the creation of isolated localization instances configured for specific languages and regions.
  • Application Locale Management - Provides utilities for setting and retrieving the active language locale to match user regional preferences.
  • Localization Pipeline Automation - Automates the loading of Unicode CLDR data and application messages via build tool integration.
  • Build-Time Localization - Provides a compiler that replaces dynamic translation calls with static strings and optimized formatters at build time.

Star history

Star history chart for globalizejs/globalizeStar history chart for globalizejs/globalize

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does globalizejs/globalize do?

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.

What are the main features of globalizejs/globalize?

The main features of globalizejs/globalize are: JavaScript Internationalization Libraries, Locale-Aware Date Parsing, Regional Number Formatting, Time Zone Management, Static Generation, IANA Time Zone Database Integrations, CLDR Data Integration, Pluralization Rules.

What are some open-source alternatives to globalizejs/globalize?

Open-source alternatives to globalizejs/globalize include: jquery/globalize — Globalize is a JavaScript internationalization library that uses Unicode Common Locale Data Repository JSON data to… amannn/next-intl — next-intl is an internationalization framework for Next.js applications. It provides a system for managing… lingui/js-lingui — Lingui is a JavaScript internationalization library that provides a framework-agnostic core with bindings for React,… symfony/translation — Symfony Translation is a PHP library and framework component for internationalizing applications. It provides a… ngx-translate/core — This is an internationalization framework for Angular applications. It provides a system for managing multilingual… aissat/easy_localization — Easy Localization is a framework for managing multi-language support in mobile applications. It provides a…

Open-source alternatives to Globalize

Similar open-source projects, ranked by how many features they share with Globalize.
  • jquery/globalizejquery avatar

    jquery/globalize

    4,840View on GitHub↗

    Globalize is a JavaScript internationalization library that uses Unicode Common Locale Data Repository JSON data to provide localization services. It functions as a locale-aware string formatter and a system for transforming dates, times, currencies, and numeric values into strings based on specific locale patterns. The library includes a precompiled localization engine that generates optimized formatting functions during the build process. This approach reduces runtime overhead and removes the requirement to load raw locale data at execution. The project covers a broad range of internationa

    JavaScript
    View on GitHub↗4,840
  • amannn/next-intlamannn avatar

    amannn/next-intl

    4,304View on GitHub↗

    next-intl is an internationalization framework for Next.js applications. It provides a system for managing translations, localized routing, and ICU message formatting to deliver multilingual content across server and client components. The project distinguishes itself through a focus on developer experience and type safety, utilizing a TypeScript translation validator that generates declaration files from JSON messages for compile-time key validation. It streamlines translation workflows with tools for automatically extracting strings from source code into message files and synchronizing thos

    TypeScriptdate-formattingi18nnext
    View on GitHub↗4,304
  • lingui/js-linguilingui avatar

    lingui/js-lingui

    5,786View on GitHub↗

    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

    TypeScript
    View on GitHub↗5,786
  • symfony/translationsymfony avatar

    symfony/translation

    6,607View on GitHub↗

    Symfony Translation is a PHP library and framework component for internationalizing applications. It provides a complete system for managing message catalogs, handling locale-aware string translation, and formatting messages using ICU MessageFormat syntax to support pluralization, gender, and conditional selection. The component organizes translatable strings into named domains, supports key-based lookup that decouples source text from localized versions, and offers deferred rendering through translatable objects that store parameters and render only when output is needed. The library disting

    PHPcomponentphpsymfony
    View on GitHub↗6,607
  • See all 30 alternatives to Globalize→