Skip to content

anuraagnagar/flask-internationalization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Internationalization App

This Flask Internationalization App is a simple mini project that demonstrates how to implement language translation and internationalization in a Flask web application.

Features

  • Language translation using Flask-Babel.
  • Support for languages (Spanish, French & Hindi).
  • Dynamic language switching.

Prerequisites

Before you get started, make sure you have the following requirements installed:

  • Python 3.x
  • Flask
  • Flask-Babel

Installation & Set up

1. Clone this repository.

git clone https://github.com/anuraagnagar/flask-internationalization.git

2. Change the Directory.

cd flask-internationalization

3. Create virtual environment.

python -m venv venv

4. Activate the virtual environment.

On Windows

venv\Scripts\activate

On MacOS/Linux

source venv/bin/activate

5. Install the required dependencies.

pip install -r requirements.txt

6. Run the application.

python app.py

To access this application open http://127.0.0.1:5000/ in your web browser.

Author

Anurag Nagar

Contact

If you have any questions or suggestions, please feel free to contact us at nagaranurag1999@gmail.com

Releases

No releases published

Packages

No packages published