GestionTablets/templates
ijuanes 34dd3ca937 feat(i18n): add Spanish localization support with Flask-Babel
- Add Flask-Babel for internationalization
- Configure app for Spanish (default) and English
- Add language switcher in navigation
- Wrap all UI text in templates with gettext()
- Create translation directory structure
- Add complete Spanish translations (58 strings)
- Add English translations (template)
- Compile .po to .mo files
- Add extract_translations.py script for future updates
- Add compile_translations.py script

Spanish is now the default language, with English available via ?lang=en

Translated strings include:
- Navigation (Home, Add Tablet, Add User, etc.)
- User Loans interface (Search, Filter, Status, etc.)
- Table headers (User, Tablet, Serial Number, etc.)
- Buttons (Loan, Return, Search, etc.)
- Messages (No users found, No active loans, etc.)
- All UI text across all templates
2026-06-20 09:58:13 +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 feat(non-loanable-devices): implement non-loanable device management 2026-06-09 23:54:38 +01:00
add_tablet.html Initial commit: Tablet lending system with user-tablet many-to-many relationship 2026-06-03 10:43:17 +01:00
add_user.html Initial commit: Tablet lending system with user-tablet many-to-many relationship 2026-06-03 10:43:17 +01:00
base.html feat(i18n): add Spanish localization support with Flask-Babel 2026-06-20 09:58:13 +01:00
edit_non_loanable_device.html feat(non-loanable-devices): implement non-loanable device management 2026-06-09 23:54:38 +01:00
history.html feat(ui): add responsive CSS for mobile accessibility 2026-06-20 01:20:39 +01:00
index.html feat(i18n): add Spanish localization support with Flask-Babel 2026-06-20 09:58:13 +01:00
loan_tablet.html Initial commit: Tablet lending system with user-tablet many-to-many relationship 2026-06-03 10:43:17 +01:00
non_loanable_devices.html feat(ui): add responsive CSS for mobile accessibility 2026-06-20 01:20:39 +01:00
project_management.html feat(ui): add responsive CSS for mobile accessibility 2026-06-20 01:20:39 +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