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

This code is fail :(` $ pybabel init -i ./babel/messages.pot -d ./webapp/translations -l ht` What's wrong with haitian creole ?

Hey @erickwilder , so far we seem to be able to keep up with new PRs barely, maybe we should think about putting a note in the README asking for...

question

@akx @etanol I'm surprised we don't have this issue yet: this repo isn't too well maintained and I don't see it getting better in the near , can we make...

**Description** After upgrading to Babel 2.17.0, I noticed that pybabel extract no longer respects translator comments (# NOTE:) when the corresponding translatable string spans multiple lines. This was not an...

bug
area/messages

As #1154 reported, Babel would choke trying to parse a plural expression that is but a template. After this, such templates can be parsed and manipulated, but may have strange...

## Overview Description xgettext generates a plural-forms header with all-caps strings as placeholders: `Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n` `pofile.read_po` chokes on these. ## Steps to Reproduce `xgettext --output=- - --language=C

bug
area/messages

Partially addresses https://github.com/python-babel/babel/issues/1011 This adds a new `lint` command to babel: ```sh $ pybabel lint --help Usage: pybabel lint [options] check message catalogs for common problems Options: -h, --help show...

Extend pybabel extract's keywords dict format to support multiple keywords with same function name and number of arguments. Fixes #1067 : pybabel extract command from CLI only respects the first...

I mistakenly put something like that in my code: ``` _(f"Name: {x}") ``` and Babel fails (as in it crashes with an exception) to extract strings from this file. The...

bug
area/messages

``` $ /venv/py311/bin/python Python 3.11.11 (main, Dec 4 2024, 08:55:08) [GCC 9.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import babel >>> babel.__version__ '2.16.0' >>>...