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

_Originally posted by @kloczek in https://github.com/python-babel/babel/issues/801#issuecomment-1009848432_ ```console + /usr/bin/python3 -sBm build -w --no-isolation -C=import_cldr * Getting dependencies for wheel... running egg_info creating Babel.egg-info writing manifest file 'Babel.egg-info/SOURCES.txt' warning: no files...

Hey all, So as you may have noticed, development on Babel has been a teensy weensy slow as of late, with just minor bugfixes and so on happening. Partially it's...

question
size/XXL

This avoids being able to construct mongrel locales with `language = 'en_US', territory = None`. Fixes #283 # :warning: Warning :warning: This might actually be a fairly disruptive change to...

size/M
pending review

Refs #31

enhancement
size/L
pending review

I believe these should represent the same fixed timezone, i.e. 1 hour ahead of GMT ``` python >>> babel_tz = babel.util.FixedOffsetTimezone(60) >>> babel_tz >>> pytz_tz = pytz.timezone('Etc/GMT+1') >>> pytz_tz ```...

pending review
area/dates

[xgettext](https://www.gnu.org/savannah-checkouts/gnu/gettext/manual/html_node/xgettext-Invocation.html#Language-specific-options) allows to have different arguments for same keyword, whereas babel doesn't. This pull request fix it. ## Example some_file.py contents: ``` print _("Hello") print _("Event", "Events", 5) ``` -...

pending review

This extends the extractor interface as discussed in https://github.com/mitsuhiko/babel/issues/35

size/L
pending review

Reverses `get_global('windows_zone_mapping')` keys and values and does not filter on territory. This preserves all input data and makes it possible to look up Windows timezone name for any supported timezone,...

size/M
pending review

Previously, the load code contained two branches on either side of an unconditional file load. Their predicates were the exact opposite of each other, according to Demorgan's laws. Clarify the...

pending review

# Overview Description [This commit](https://github.com/python-babel/babel/pull/564) fixed the issue of replacing empty translations in .mo files with msgid to instead leave empty, to allow fallback. However, I don't see the same...

bug
area/messages