babel icon indicating copy to clipboard operation
babel copied to clipboard

The official repository for Babel, the Python Internationalization Library

Results 174 babel issues
Sort by recently updated
recently updated
newest added

Django's `makemessages` command (Django==5.0.6) can be used to extract messages and generate PO files. A PO file generated by this command looks like this: ``` # SOME DESCRIPTIVE TITLE. #...

when i use `pybabel extract` or `pybabel update` there is no way to not remove existing translations, unused translations that existed in .pot or .po are being removed or commented....

enhancement
area/messages

A catalog updated with the option `--omit-header` cannot be compiled and we have this message: `catalog themes {my path here} is marked as fuzzy, skipping` This is a problem because...

## Overview Description If I convert a `datetime` object to the timezone Europe/London, the time is (largely) unchanged, with no daylight saving applied. The conversion works correctly for a few...

[CLDR 45](https://cldr.unicode.org/index/downloads) is out now. Looks like the 44 patch fixed most of the test issues so there was only one failing test this time around :) Some related discussion...

area/CLDR
feature

Given this po file: ```po msgctxt "ctx" msgid "foo" msgid_plural "foos" msgstr[0] "foo translated" ``` `pgettext` fails to find the singular translation i.e. `pgettext("ctx", "foo") == "foo"` when one would...

## Overview Description When using `format_skeleton`, a `KeyError` is raised despite using `fuzzy=True`. ## Steps to Reproduce ```python3 from datetime import datetime from babel.dates import format_skeleton dt = datetime(2012, 1,...

bug
area/dates

## Overview Description The following 2 consecutive test cases appear to be duplicate: https://github.com/python-babel/babel/blob/9ef53c6a6ab5fc604b58ccb19dc63ebcf8edd28b/tests/test_numbers.py#L54-L55 Any particular reason for that?

bug
size/XS
area/numbers

## Overview Description #892 was caused by us not reading ``es at all. #1075 encodes the "hey, you can use `short` if you can't find these time deltas" logic from...

enhancement
area/CLDR
feature

I would like to setup a CI job that would check if users have forgotten to extract the catalogs. The idea is that the CI would extract the catalogs, and...

enhancement
question
area/messages