Skip to content

Abnormal translation when I place non-string in parameters #231

@Muzych

Description

@Muzych

Here is our scene, we give a code to infer Chinese translations and English translations.
For example , the number 10157 would infer to a SPACE between two words.
When I use ('10157') in my code such as "Hello('10157')World", the result in English could be "Hello World" and "你好" in Chinese.
But what I really have in output is the msgid of SPACE separator. It seems like "你10157好".
I would like to know whether the flask-babel support non-string in parameters and why I get the msgid when I place non-string in parameters like this _('').

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions