mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
docs: update Flask-Babel links (#22023)
This commit is contained in:
@@ -7,10 +7,10 @@ version: 1
|
||||
|
||||
## Translating
|
||||
|
||||
We use [Flask-Babel](https://flask-babel.tkte.ch/) to translate Superset.
|
||||
We use [Flask-Babel](https://python-babel.github.io/flask-babel/) to translate Superset.
|
||||
In Python files, we use the following
|
||||
[translation functions](https://flask-babel.tkte.ch/#using-translations) from
|
||||
`Flask-Babel`:
|
||||
[translation functions](https://python-babel.github.io/flask-babel/#using-translations)
|
||||
from `Flask-Babel`:
|
||||
- `gettext` and `lazy_gettext` (usually aliased to `_`): for translating singular
|
||||
strings.
|
||||
- `ngettext`: for translating strings that might become plural.
|
||||
|
||||
Reference in New Issue
Block a user