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

## Overview Description The "b" format symbol to `format_time` and `format_datetime` (with `locale="en"`) currently produces one of `morning`, `noon`, `evening`, or `midnight`. The [CLDR docs](https://cldr.unicode.org/translation/date-time/date-time-symbols) say the result should be...

bug
area/CLDR
area/dates

Suppose I find a typo in a message. If I correct it, the next update of PO files will update this msgid, and mark the entry as fuzzy because the...

## Overview Description The text extraction fails, after a html attribute localization in quoted signs. ## Steps to Reproduce Run extraction on the following javascript template string code: ``` `${_('AA0')}...

bug
area/messages

## Overview Description Using babel to format date with local timezone show different result for `America/Montreal` and `America/Toronto`. ## Steps to Reproduce ``` >>> dates.format_datetime(format='long', tzinfo=pytz.timezone('America/Toronto')) 'August 2, 2023 at...

bug
question
area/dates

## Overview Description Sorry for the issue spam, I swear this is the last one ;) When the python extractor encounters multiple `ngettext` calls with differing plurals: ```python ngettext("foo", "foos",...

enhancement
area/messages

## Overview Description *gettext calls should be properly validated for the correct number/type of arguments and an error/warning should be issued if the signature does not match. Some examples which...

enhancement
area/messages

A common error that translators do is translating the format field names, while they should remain untranslated. For example: translating `"File {file} not found"` by `"Fichier {fichier} non trouvé"` instead...

feature
area/messages

## Overview Description According to [specifications for scientific notation in UNICODE LOCALE DATA MARKUP LANGUAGE (LDML) - PART 3: NUMBERS](https://www.unicode.org/reports/tr35/tr35-69/tr35-numbers.html#sci): > The maximum number of integer digits, if present, specifies...

bug
area/numbers

This encompasses a few different ideas: - Allow overriding of existing values in the CLDR - Allow insertion of new elements in CLDR XML - Allow addition of xml files...

question
feature
difficulty/high

## Overview Description We would like to add a command to our tests and check if we are frailer-free for message extractions. found this `--dry-run` command on the [docs](https://babel.pocoo.org/en/latest/setup.html?highlight=--dry-run#extract-messages), but...

bug
area/messages