feat: Implement and update translations for warehouse categories, core application titles, and other UI elements.

This commit is contained in:
2025-12-12 14:25:16 +01:00
parent 08256f0019
commit c4d58f8354
9 changed files with 236 additions and 69 deletions

View File

@@ -0,0 +1,21 @@
# Update Translations for New Developments
## Status
- [x] Analysis of new features needing translation
- [x] Update Italian Translations (it)
- [x] Update English Translations (en)
- [x] Verification
## Details
Verified recent developments:
1. **Warehouse - Categories**: New management of article categories.
2. **Communications**: Email configuration and logs.
3. **Training**: New module for courses and training sessions.
I will scan these modules for `t()` calls and update the `translation.json` files in `public/locales/it` and `public/locales/en`.
## Work Done
- **Warehouse Categories**: Updated `CategoriesPage.tsx` to use `useTranslation`. Added keys for titles, buttons, fields, and dialogs in both IT and EN locales.
- **Communications**: Updated `SettingsPage.tsx` and `LogsPage.tsx` to use `useTranslation`. Added complete set of keys for settings, fields, actions, messages and log columns in both IT and EN locales.
- **Components**: Updated `Sidebar.tsx`, `SearchBar.tsx` to use full translations. Added `apps.core.title` and ensure `categories` is available in menu.
- **Training**: Training module files were not found in the current workspace, so no translations were applied for this module yet. Suggest to review separately when module is available.