Install Universe Website Translation on a Flask Site
If your site is built with Flask, you can add Universe Website Translation by inserting one snippet into your base HTML template.
No rebuild, no packages, no backend changes — just one safe, reversible change.

Setup for Flask
Workflow
How it works
Open Your Flask Project
Locate your Flask project folder and open it in your editor (VS Code, PyCharm, etc.).
Most Flask apps have templates here:
- templates/
- templates/base.html (or layout.html)
Open Your Base Template
Open the file where your global <head> tag lives:
- templates/base.html
- (or templates/layout.html)
This base template is ideal because it loads on every page.
You should see something like:
Paste the Vitra Snippet in the <head>
Paste your Vitra / Universe Website Translation snippet inside <head> (preferably near the end of the head).
Example placement:

Add a Label (Optional but Recommended)
For easy identification, add a clear comment label above it:
<!-- Translate Website -->
Save and Restart Flask
Save the file, then restart your Flask server.
Examples:
flask run
or if you run via python:
python app.py
Now refresh your website — Universe Website Translation should be active.
What Happens After Setup?
- ✓Once live, Universe Website Translation can:
- ✓Translate all Flask-rendered pages
- ✓Keep your layout intact
- ✓Support SEO-ready multilingual experiences (if configured)
- ✓Work without changing your routes or templates
Easy to Remove Anytime
- →Want to disable it?
- →Just delete the snippet from base.html (or comment it out) and restart Flask.
- →No side effects. No dependency cleanup.
Next step
Connect nowWhere to go next
Flask Translation is one way into Vitra.ai. Website translation is the capability doing the work behind it.
Browse every connector on the integrations directory.