Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Locale Switcher #94

Closed
megavolkan opened this issue Apr 25, 2023 · 2 comments
Closed

Locale Switcher #94

megavolkan opened this issue Apr 25, 2023 · 2 comments

Comments

@megavolkan
Copy link

megavolkan commented Apr 25, 2023

I used the given example locale switcher blade snippet in blade file. It gives
Class "LocaleConfig" not found
error on this line:

...
@foreach(LocaleConfig::getLocales() as $locale)
...

Edit:
(Using Laravel v10.7.1)

ivanvermeyen added a commit to ivanvermeyen/laravel-localized-routes that referenced this issue Apr 25, 2023
@ivanvermeyen
Copy link
Contributor

Forgot to register the facade with Composer.
Should be fixed now. 👍

@megavolkan
Copy link
Author

Great! Thanks for quick fix

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

No branches or pull requests

2 participants