# python-babel/babel

The official repository for Babel, the Python Internationalization Library

Repository: https://github.com/python-babel/babel
Canonical: https://ross.abutalabs.com/products/python-babel-babel
Homepage: http://babel.pocoo.org/
Language: Python
License: BSD-3-Clause
License Family: permissive
Topics: hacktoberfest, cldr, gettext, i18n, l10n
Last push: 2026-08-26T12:25:32+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 36, longevity 100
- inputs: {"age_days": 4809, "days_push": 7, "days_rel": 213, "gap_med": 364, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1463, forks 490 (observed 2026-08-28T04:04:47.798943+00:00)

## What it is
Babel is the standard Python library for internationalization and localization, built on CLDR data. It provides locale-aware date, number, and currency formatting plus gettext-based message catalog tooling.

## Use cases
- translate a python web app into multiple languages
- format dates and numbers per user locale
- extract translatable strings from python code
- compile gettext .po message catalogs
- localize currency and decimal formatting
- handle timezones and locale-aware calendars

## When to choose
- you need mature, CLDR-backed i18n in Python
- your web framework (Flask, Pyramid, Django-adjacent) needs locale formatting
- you want gettext workflow tooling in Python

## When to avoid
- you need frontend/browser i18n (use Intl or a JS library)
- you need machine translation or translation management services
- your project is not Python

## Facets
- artifact type: library
- maturity: stable
- function: internationalization, templating, date-time
- domain: web-development, developer-tools
- platform: python, cross-platform
- tags: i18n, l10n, gettext, cldr, locale-formatting, message-catalogs, translation, localization

## Member repositories
- python-babel/babel (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:47.798943+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:35:14.580582+00:00, confidence not recorded.
  - readme: https://github.com/python-babel/babel (fetched 2026-08-28T04:04:47.798943+00:00, sha 9cba869c1b05)
  - registry_pypi: https://pypi.org/pypi/babel/json (fetched 2026-08-29T11:44:10.492805+00:00, sha 1fdd70cfd1d2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
