# jquery/globalize

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/jquery-globalize).**

4,840 stars · 586 forks · JavaScript · MIT

## Links

- GitHub: https://github.com/jquery/globalize
- Homepage: https://globalizejs.com
- awesome-repositories: https://awesome-repositories.com/repository/jquery-globalize.md

## Description

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 internationalization capabilities, including relative time formatting, dynamic pluralization handling, and the formatting of localized messages that support gender inflections and language-specific variables. It also manages the conversion of monetary values and timestamps into strings that match regional expectations.

## Tags

### Web Development

- [JavaScript Internationalization Libraries](https://awesome-repositories.com/f/web-development/javascript-internationalization-libraries.md) — A JavaScript library for localization and internationalization that utilizes Unicode CLDR JSON data.
- [Formatter Precompilation](https://awesome-repositories.com/f/web-development/internationalization-localization/core-localization-frameworks/build-time-localization/formatter-precompilation.md) — Provides a build-time engine that precompiles locale data into optimized functions to eliminate runtime parsing overhead.
- [Localized Message Formatting](https://awesome-repositories.com/f/web-development/localized-message-formatting.md) — Produces human-readable strings from patterns that support variables, gender inflections, and pluralization based on the user's language. ([source](https://github.com/jquery/globalize#readme))
- [Locale Data Loading](https://awesome-repositories.com/f/web-development/feature-detection-polyfills/modular-loading/locale-data-loading.md) — Allows the runtime to load only the specific language and region data required for the current user session.
- [Multilingual Web Applications](https://awesome-repositories.com/f/web-development/multilingual-web-applications.md) — Provides the core formatting capabilities necessary for adapting user interfaces to different languages and regions.

### Content Management & Publishing

- [Locale-Aware Currency Formatting](https://awesome-repositories.com/f/content-management-publishing/currency-formatting-standards/locale-aware-currency-formatting.md) — Formats numeric values as locale-aware currency strings using specific currency codes and regional symbols. ([source](https://github.com/jquery/globalize#readme))
- [Regional Number Formatting](https://awesome-repositories.com/f/content-management-publishing/currency-formatting-standards/locale-aware-currency-formatting/regional-number-formatting.md) — Applies language and region-specific standards to numeric values, including digit grouping and decimal separators.
- [Locale-Aware Date and Number Formatting](https://awesome-repositories.com/f/content-management-publishing/currency-formatting-standards/locale-aware-currency-formatting/regional-number-formatting/locale-aware-date-and-number-formatting.md) — Transforms temporal and numeric data, including currencies, into strings based on regional and linguistic rules.

### Development Tools & Productivity

- [Date Localizations](https://awesome-repositories.com/f/development-tools-productivity/date-formatting-utilities/human-readable-formatters/date-localizations.md) — Transforms date objects into localized strings based on regional language codes and patterns. ([source](https://github.com/jquery/globalize#readme))
- [Locale-Aware String Formatting](https://awesome-repositories.com/f/development-tools-productivity/localization-support/locale-aware-string-formatting.md) — Produces human-readable strings with support for gender inflections, pluralization, and language-specific variables.
- [Relative Time Humanization](https://awesome-repositories.com/f/development-tools-productivity/localization-support/string-localization/relative-time-humanization.md) — Converts durations and timestamps into localized, human-readable relative time strings based on the user's locale.

### Software Engineering & Architecture

- [CLDR Data Integration](https://awesome-repositories.com/f/software-engineering-architecture/cldr-data-integration.md) — Uses official Unicode Common Locale Data Repository JSON files to ensure accurate, standards-based internationalization.
- [Pluralization and Interpolation Engines](https://awesome-repositories.com/f/software-engineering-architecture/localization-variable-injection/pluralization-and-interpolation-engines.md) — Provides an engine that applies linguistic rules for pluralization and injects dynamic variables into localized strings.
- [Pluralization Rules](https://awesome-repositories.com/f/software-engineering-architecture/localization/pluralization-rules.md) — Implements logic to select the correct grammatical string forms based on numeric values and locale-specific grammar.

### Programming Languages & Runtimes

- [Build-Time Precompilation](https://awesome-repositories.com/f/programming-languages-runtimes/runtime-execution-environments/javascript-runtimes/javascript-build-engines/precompiled-template-execution/build-time-precompilation.md) — Implements a build-time process to transform raw locale data into optimized JavaScript functions to eliminate runtime parsing.

### Part of an Awesome List

- [Internationalization](https://awesome-repositories.com/f/awesome-lists/devtools/internationalization.md) — I18n library leveraging official Unicode CLDR data.
