GestionTablets/templates
ijuanes 2248237c79 fix(i18n): enable translations in all templates and implement cookie-based language persistence
- Add _() translation function to add_tablet.html, add_user.html, loan_tablet.html
- Add _() translation function to add_non_loanable_device.html, edit_non_loanable_device.html
- Add _() translation function to history.html, non_loanable_devices.html, project_management.html
- Update app.py to use cookie-based language persistence with 1-year expiry
- Add /set_language endpoint to handle language switching with cookie + session
- Update language switcher in base.html to use new endpoint
- Set Spanish (es) as default language for internal app
- Import make_response and session from Flask
2026-06-20 13:14:41 +01:00
..
components feat(i18n): add Spanish localization support with Flask-Babel 2026-06-20 09:58:13 +01:00
add_non_loanable_device.html fix(i18n): enable translations in all templates and implement cookie-based language persistence 2026-06-20 13:14:41 +01:00
add_tablet.html fix(i18n): enable translations in all templates and implement cookie-based language persistence 2026-06-20 13:14:41 +01:00
add_user.html fix(i18n): enable translations in all templates and implement cookie-based language persistence 2026-06-20 13:14:41 +01:00
base.html fix(i18n): enable translations in all templates and implement cookie-based language persistence 2026-06-20 13:14:41 +01:00
edit_non_loanable_device.html fix(i18n): enable translations in all templates and implement cookie-based language persistence 2026-06-20 13:14:41 +01:00
history.html fix(i18n): enable translations in all templates and implement cookie-based language persistence 2026-06-20 13:14:41 +01:00
index.html feat(i18n): add Spanish localization support with Flask-Babel 2026-06-20 09:58:13 +01:00
loan_tablet.html fix(i18n): enable translations in all templates and implement cookie-based language persistence 2026-06-20 13:14:41 +01:00
non_loanable_devices.html fix(i18n): enable translations in all templates and implement cookie-based language persistence 2026-06-20 13:14:41 +01:00
project_management.html fix(i18n): enable translations in all templates and implement cookie-based language persistence 2026-06-20 13:14:41 +01:00
user_loans.html feat(i18n): add Spanish localization support with Flask-Babel 2026-06-20 09:58:13 +01:00
user_loans_detail.html feat(i18n): add Spanish localization support with Flask-Babel 2026-06-20 09:58:13 +01:00