Skip to content

Refactor getPreferredLocale method to include input locale#162

Closed
devEcommercePL wants to merge 1 commit into
bezhanSalleh:3.xfrom
devEcommercePL:3.x
Closed

Refactor getPreferredLocale method to include input locale#162
devEcommercePL wants to merge 1 commit into
bezhanSalleh:3.xfrom
devEcommercePL:3.x

Conversation

@devEcommercePL

Copy link
Copy Markdown

No description provided.

@what-the-diff

what-the-diff Bot commented Jun 14, 2026

Copy link
Copy Markdown

PR Summary

  • Improved Locale Retrieval Method
    Now, the system fetches the locale information more effectively. We have upgraded from the old method of just request()->get('locale') to a more reliable approach using both request()->query('locale') and request()->input('locale'). This makes sure the locale information is fetched accurately, making our service more reliable.

@bezhanSalleh

bezhanSalleh commented Jun 27, 2026

Copy link
Copy Markdown
Owner

Thanks, but 3.x is now in EOL use 4.x or 5.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants