v1.1.0
What's Changed
- Database and Import data for New Feature Multi-Lingual Feature Added to Base IMIS in commit b4f8263
Multi-Lingual Feature
Implemented dynamic multilingual support with file-based, database-driven, and route-based language switching for enhanced localization.
The multilingual support covers key interface elements such as menus, labels, dashboard titles, tooltips, and export file names, ensuring a seamless user experience across different languages.
Version Updates
To update to this version without restoring empty database, run the following command:
Following these steps will successfully integrate a language localization feature into existing Base IMIS Laravel project:
-
Git Pull and Merge
git fetch upstream --tags # Fetch all tags from upstream (and all remotes)
git tag # List all local tags to verify
git fetch upstream tag v1.1.0 # Fetch a specific tag explicitly (v1.1.0)
git push origin v1.1.0 # Push the fetched tag to your own remote (origin)
git checkout -b from-v1.1.0 tags/v1.1.0 # Create a branch from the fetched tag
git checkout my-working-branch # Switch to your working branch (e.g., dev or feature)
git merge from-v1.1.0 # Merge the tag-based branch into your branch -
Run Migrations To apply these migrations, run:
php artisan migrate --path=database/migrations/languauge/2025_01_16_123728_create_languages_table.php
php artisan migrate --path=database/migrations/languauge/2025_01_17_154212_create_translates_table.php -
Run db:seed to Update Roles and Permissions
php artisan db:seed --class="Database\Seeders\PermissionsSeeder"
php artisan db:seed --class="Database\Seeders\RolePermissions\MunicipalityITAdminSeeder"
php artisan db:seed --class="Database\Seeders\RolePermissions\MunicipalitySuperAdminSeeder"
php artisan db:seed --class="Database\Seeders\LanguageSeeder" -
Seed Initial Language Translation Data
Import the initial translation keys data provided in CSV format for English Language in table translates within schema language. The file is present in repo deployment_documentation@sample_import_data in file named 'Multilingual Translation Keys - en'. -
Caching and Performance
php artisan optimize:clear -
Permission
Ensure that theresources/langdirectory has appropriate write permissions (chmod 777) in the production environment.
Note:
While Logging in with the roles 'Municipality - Super Admin' or 'Municipality - IT Admin', the user can Import the preferred Language Translation from the frontend by clicking on 'Import Translation' Action button. Also, do not forget to Generate Language by clicking on the button in actions.
This codebase aligns with Release v1.1.0.
Related Git repositories are available below:
Web App: GitHub – Web App Repository
Mobile App: GitHub – Mobile App Repository
User Manual: GitHub – User Manual Repository
Full Notes:
Download the file: Release Notes - v1.1.0.md