Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

freel's avatar

here starts other problem :D now route::auth(); not working. can't register user :) and so on... interesting...

freel's avatar

ok solved by adding {{ LaravelLocalization::getLocalizedURL(null,'/register') }}

freel's avatar

@lsteamgeo I have question. Just find out that in login if I am leaving every input blank it not returning me errors. seems that validator not working.

maybe you have something similar?

freel's avatar

I think you don't understand my question. I have default auth function.

lets say: http://project28.dev/ru/login

ok there is by default E-Mail Address and Password fields. before this package integration if you pressing login and you leaving empty fields it returns that you need to enter email and so on.

now when I have this package working if i do that it not returning me errors.

lsteamgeo's avatar

Oh ok,

After installing the package everything should work normally.

Is the connection works when you login?

freel's avatar

What you mean "Is the connection works when you login?" If I type correct login and password it connect me.

lsteamgeo's avatar

@feel,

Sorry for my bad English, i'm french.

I don't know why the validator don't work with blank input when you add the package.

I don't have this problem.

1 like
ehben's avatar

I solved the locale problem by changing the middleware LaravelLocalizationRedirectFilter.php like this :

            } else if ( $currentLocale !== $defaultLocale || !$hideDefaultLocale )
            {
                // If the current url does not contain any locale
                // The system redirect the user to the very same url "localized"
                // we use the current locale to redirect him
                $redirection = app('laravellocalization')->getLocalizedURL(session('locale'),$request->path());
            }
Previous

Please or to participate in this conversation.