Repository navigation
feat(installer): add Canadian locales (en_CA, fr_CA) and CAD currency support (fixes #520) - #521
Merged
navneetkumar-pim-webkul merged 3 commits intoJun 26, 2026
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds full Canadian locale support (en_CA and fr_CA) along with Canadian Dollar (CAD) currency to the UnoPim installer, enabling users to select these options during the installation process.
Changes Made
1. Installer Seeders
en_CAandfr_CAtoDEFAULT_LOCALESarray (enabled by default at installation)CADcurrency withCADsymbol (already existed, no changes needed beyond confirming it's available)2. Web Installer UI
en_CAandfr_CAto the locales dropdown array'dollar'to the currencies dropdown array3. CLI Installer
en_CAandfr_CAto the locales selector inselectLocale()methodCADto the currencies selector inselectCurrency()method4. Language Files
'CAD' => 'Canadian Dollar') and'dollar' => 'Canadian Dollar (CAD)'label5. Validation
Testing
Tested with:
php artisan installer:localeNotes
'CAD'to maintain consistency with existing currency symbol convention