Skip to content

Commit 97a82f1

Browse files
committed
remove crowdin
1 parent a0c6ad0 commit 97a82f1

File tree

5 files changed

+19
-39
lines changed

5 files changed

+19
-39
lines changed

README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Flask-Admin is now part of Pallets-Eco, an open source organization managed by t
44
Pallets team to facilitate community maintenance of Flask extensions. Please update
55
your references to `https://github.com/pallets-eco/flask-admin.git`.
66

7-
[![image](https://d322cqt584bo4o.cloudfront.net/flask-admin/localized.svg)](https://crowdin.com/project/flask-admin) [![image](https://github.com/pallets-eco/flask-admin/actions/workflows/tests.yaml/badge.svg?branch=master)](https://github.com/pallets-eco/flask-admin/actions/workflows/test.yaml)
7+
[![image](https://github.com/pallets-eco/flask-admin/actions/workflows/tests.yaml/badge.svg?branch=master)](https://github.com/pallets-eco/flask-admin/actions/workflows/test.yaml)
88

99
## Pallets Community Ecosystem
1010

@@ -181,5 +181,14 @@ Flask-Admin is built with the help of
181181
If you want to localize your application, install the
182182
[Flask-Babel](https://pypi.python.org/pypi/Flask-Babel) package.
183183
184-
You can help improve Flask-Admin\'s translations through Crowdin:
185-
<https://crowdin.com/project/flask-admin>
184+
You can help improve Flask-Admin\'s translations by opening a PR.
185+
## As a developer who's changed some text in Flask-Admin
186+
```bash
187+
uv sync --group docs
188+
cd babel
189+
./babel.sh --update
190+
```
191+
192+
## As a translator who's updated some `.po`/`.mo` files
193+
Run `cd babel`
194+
Run `./babel.sh`

babel/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
# Working with Babel translations
2-
2+
```bash
3+
uv sync --group docs
4+
```
35
## As a developer who's changed some text in Flask-Admin
46

57
Run `./babel.sh --update`
68

9+
## As a translator who wants to find missing translations
10+
Run `awk '/^msgid / {msgid=substr($0, 8, length($0)-8)} /^msgstr ""$/ {print msgid}' file.po`
11+
712
## As a translator who's updated some `.po`/`.mo` files
813

914
Run `./babel.sh`

babel/crowdin_pull.sh

Lines changed: 0 additions & 30 deletions
This file was deleted.

babel/crowdin_push.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

flask_admin/translations/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
Translations are ONLY handled through Crowdin!
2-
https://crowdin.com/project/flask-admin
1+
Translations were moved from crowdin to PR requests only!

0 commit comments

Comments
 (0)