Skip to content

v1.1.0

Choose a tag to compare

@kreesa kreesa released this 25 Apr 05:43
· 123 commits to master since this release
508b64b

What's Changed

  • New Feature Multi-Lingual Feature Added to Base IMIS.

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, run the following command:
Following these steps will successfully integrate a language localization feature into existing Base IMIS Laravel project:

  1. Git Tag Fetch and Merge Workflow
    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

  2. 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

  3. 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"

  4. 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'.

  5. Caching and Performance
    php artisan optimize:clear

  6. Permission
    Ensure that the resources/lang directory 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:

Database and Sample data: GitHub – Deployment Documentation Repository
Mobile App: GitHub – Mobile App Repository
User Manual: GitHub – User Manual Repository

Full Note

Download the file: Release Notes - v1.1.0.md