pip install psycopg2-binary pip install Flask-Babel #----------------------------------------------------babel------------------------------------------------- pybabel extract -F babel.cfg -o messages.pot . دستور استخراج (extract) تمام رشته‌های قابل ترجمه از کل پروژه pybabel init -i messages.pot -d translations -l fa pybabel init -i messages.pot -d translations -l en pybabel init -i messages.pot -d translations -l tr pybabel update -i messages.pot -d translations -l fa pybabel update -i messages.pot -d translations pybabel compile -d translations