You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2022/12/02 21:21:05 UTC

[superset] branch master updated: docs: update Flask-Babel links (#22023)

This is an automated email from the ASF dual-hosted git repository.

rusackas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 3df1c99f00 docs: update Flask-Babel links (#22023)
3df1c99f00 is described below

commit 3df1c99f0045dd49884e5bf83abb2ef46e524529
Author: Hao Cheng <hc...@gmail.com>
AuthorDate: Fri Dec 2 22:20:58 2022 +0100

    docs: update Flask-Babel links (#22023)
---
 CONTRIBUTING.md                         | 2 +-
 docs/docs/contributing/translations.mdx | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index c31ffedd96..816309174f 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1028,7 +1028,7 @@ When contributing new React components to Superset, please try to add a Story al
 
 ## Translating
 
-We use [Babel](http://babel.pocoo.org/en/latest/) to translate Superset.
+We use [Flask-Babel](https://python-babel.github.io/flask-babel/) to translate Superset.
 In Python files, we import the magic `_` function using:
 
 ```python
diff --git a/docs/docs/contributing/translations.mdx b/docs/docs/contributing/translations.mdx
index 52200aedff..13572f801e 100644
--- a/docs/docs/contributing/translations.mdx
+++ b/docs/docs/contributing/translations.mdx
@@ -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.