hsntngr

hsntngr

Member Since 1 Year Ago

Experience Points 4,210
Experience Level 1

790 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed 8
Lessons
Completed
Best Reply Awards 0
Best Reply
Awards
  • Start Your Engines Achievement

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • First Thousand Achievement

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • One Year Member Achievement

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • Two Year Member Achievement

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • Three Year Member Achievement

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • Four Year Member Achievement

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • Five Year Member Achievement

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • School In Session Achievement

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • Welcome To The Community Achievement

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • Full Time Learner Achievement

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • Pay It Forward Achievement

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • Subscriber Achievement

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • Lifer Achievement

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • Laracasts Evangelist Achievement

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • Chatty Cathy Achievement

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • Laracasts Veteran Achievement

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • Ten Thousand Strong Achievement

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • Laracasts Master Achievement

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • Laracasts Tutor Achievement

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • Laracasts Sensei Achievement

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • Top 50 Achievement

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

07 Mar
2 weeks ago

hsntngr left a reply on Laravel How To Send Email With Sender Name ?

@nakov ohh I miss that. I have never tried. But may I ask, is there any way to define default name globally ? I want to same name at emails and notifications emails

hsntngr started a new conversation Laravel How To Send Email With Sender Name ?

ı'm trying to send email with sender name but I couldn't figure out how do I achive this.

I set sender name in mail.from.name config but still it uses username of email address

When I send an email from [email protected], sender name seems as noreply. But I want to use aoo name instead..

public function build() {
      return $this
            ->to($this->user)
            ->from("[email protected]")
            ->subject($subject)
            ->markdown('mail.user.welcome');
}
01 Mar
3 weeks ago

hsntngr left a reply on WhereHas Method Doesn't Work As Expected

Hi @staudenmeir , thanks for your reply. imo this is not necessary, Also I tried with removing other filters nothing changed

hsntngr started a new conversation WhereHas Method Doesn't Work As Expected

I'm trying to build a filter query but when I filter using whereHas method it returns extremely odd results.

when($request->has("brand", function($q) use ($request) {
   $q->whereHas("tags", function ($q) use ($request) {
        $q->where("tags.id", $request->brand); # brand id
   });
}))
'``


Here is sql result if I filter only by brand (by tag) 

```sql
 "select `products`.`id`, `products`.`title`, `products`.`slug`, `products`.`price` from `products` 
where exists (select * from `tags` inner join `taggables` on `tags`.`id` = `taggables`.`tag_id` 
where `products`.`id` = `taggables`.`taggable_id` 
and `taggables`.`taggable_type` = 'App\Models\Product' and `tags`.`id` = '10')";

It returns couple result but doesn't relevant with above query. Results even have not same brand.

But when I send brand name instead id and change query like $q->where("tags.name", $request->brand); # brand name, it working as well

select `products`.`id`, `products`.`title`, `products`.`slug`, `products`.`price` from `products` 
where exists (select * from `tags` inner join `taggables` on `tags`.`id` = `taggables`.`tag_id` 
where `products`.`id` = `taggables`.`taggable_id` 
and `taggables`.`taggable_type` = 'App\Models\Product' and `tags`.`name` = 'Action')

What is wrong with it ? I'm using polyhmorphic many yo many relationship between product and tags, there some other taggable models..

25 Feb
3 weeks ago

hsntngr left a reply on Laravel Validation Errors Doesn't Work Properly - Localization Issue

@BOBBYBOUWMANN - Yes validation file exists in all languages and yes I'm using different fallback, actually that what makes everything weird. Even if there is something wrong, it should show errors with fallback language ..

Also I don't know what should I share ? What could be helpful ?

hsntngr started a new conversation Laravel Validation Errors Doesn't Work Properly - Localization Issue

I have several languages on my application and I'm using laravellocalization package (Here is github page)

Well package works fine, I checked both of Laravellocalization::getCurrentLocale() and App::getLocale(). Both of them gave me correct locale..

But still when some validation errors occured, it shows error in different languages. Sometimes it uses correct locale but sometimes it shows with not the default locale but Request::getPreferredLanguage()

I don't know what causing it and how to I fix it. Log file shows anything, when dump the locales, everything seems just fine..

How can I solve this issue ?

18 Feb
1 month ago

hsntngr started a new conversation HTTP REFERRER SEEMS AS ROOT URL

Laravel redirect root url when I redirect back. I checked server variables HTTP_REFERRER points root url. I tried with different routes and realized it's only happen with localized routes.

I'm using mcamara/laravel-localization package for localization..

Do you have any idea what may cause this issue ? There was no such issue until now, I'm checking git history but there are mostly translating updates or visual changes (css, js..) I couldn't figure out what changing referrer url

11 Feb
1 month ago

hsntngr left a reply on Browsers Displays Sitemap As Plain Text

@click I see, but if we skip the namespace, would it be problem for crawlers ? Does it effect seo somehow ?

hsntngr left a reply on Browsers Displays Sitemap As Plain Text

@aurawindsurfing that's exactly what I do.. But still..

hsntngr left a reply on Browsers Displays Sitemap As Plain Text

Are you having any custom configuration for multilingual sitemap ? I looked github readme file but couldn't find. I generated files with preferred method and it gets me into this..

I also checked out vendor files, xhtml namespaces are hardcoded.. so I'll will fork package I guess

hsntngr left a reply on Browsers Displays Sitemap As Plain Text

I also find several peoples that having same problem and first one have solution.. But I'm not sure whether is safe or not

https://productforums.google.com/forum/#!topic/webmasters/xqyE6lKWGJw;context-place=topicsearchin/webmasters/authorid$3AAPn2wQcbeJ21Qr7kXCe7rxcTISTs5emnJZxb62hsTMjT2npRLo_SS8-BqJjRlrfaj4koq5meFme1%7Csort:date%7Cspell:false

https://stackoverflow.com/questions/20330837/multilingual-sitemap-xml-file

hsntngr left a reply on Browsers Displays Sitemap As Plain Text

@aurawindsurfing I think I might be get in to close.. instead of language by language, I generated sitemaps by url. (page or post) Actually that preferred by google.

    <loc>http://app.test/en/terms-of-use</loc>
        <xhtml:link rel="alternate" hreflang="en" href="http://app.test/en/terms-of-use" />
        <xhtml:link rel="alternate" hreflang="fr" href="http://app.test/fr/terms-of-use" />
        <xhtml:link rel="alternate" hreflang="tr" href="http://app.test/tr/terms-of-use" />
        <lastmod>2019-02-11T00:00:00+00:00</lastmod>
        <changefreq>daily</changefreq>
        <priority>1</priority>
    </url>

Browsers crashing and displaying as plain txt when they displaying the above urlset.

    <loc>http://app.test/en/terms-of-use</loc>
        <lastmod>2019-02-11T00:00:00+00:00</lastmod>
        <changefreq>daily</changefreq>
        <priority>1</priority>
    </url>

But when I remove alternate tags, it works fine. they shows as xml file.

hsntngr left a reply on Browsers Displays Sitemap As Plain Text

@AURAWINDSURFING - @aurawindsurfing Well sitemap index still works.. But other files not..

hsntngr started a new conversation Browsers Displays Sitemap As Plain Text

I'm trying to display my sitemaps. Browsers display my sitemap index as xml but treat post sitemaps as plain text.

I tried to override content type with below configuration but it didn't help.

location ~ \.xml$ {
    proxy_hide_header Content-Type;
    add_header Content-Type "application/xml";
}

How do I force nginx to set content type as "application/xml" ?

sitemap index = https://gamercortex.com/sitemap.xml sitemap1 = https://www.gamercortex.com/sitemaps/sitemap-1.xml

How can I fix this ?

18 Jan
2 months ago

hsntngr left a reply on Event Subscriber Doesn't Work Well When Event Fired

@realrandyallen I found the problem, there was a problem with spam checker class, it always return true. I fixed it and now it works

hsntngr left a reply on Event Subscriber Doesn't Work Well When Event Fired

@realrandyallen that was what I thought first but I checked out it's not about it.

hsntngr started a new conversation Event Subscriber Doesn't Work Well When Event Fired

I'm using the event subscriber to delete rendered view caches of posts..

There several events belongs to post such as ArticleUpdated, NewComment, CommentUpdated etc..

When one of them fired I want to clear rendered view cache.

on this purpose I create an event listener and added inside to EventServiceProvider::$subscribe method.

protected $subscribe = [
        'App\Subscribers\ClearHtmlCacheSubscriber',
    ];

and ClearHtmlCacheSubscriber

public function onArticleEvent($event)
    {
        if ($event->isSpam === false)
            $this->clearHtmlCache($event->article->articleable);
    }

    public function onCommentEvent($event)
    {
        $this->clearHtmlCache($event->comment->commentable);
    }

    public function clearHtmlCache($model)
    {
        $key = "posts.renderedView" . $model->getTable() . $model->id . \LaravelLocalization::setLocale();
        Redis::del($key);
    }

    public function subscribe($events)
    {
        $events->listen(
            'App\Events\ArticleUpdated',
            'App\Subscribers\[email protected]'
        );
        $events->listen(
            'App\Events\NewComment',
            'App\Subscribers\[email protected]'
        );
        $events->listen(
            'App\Events\CommentUpdated',
            'App\Subscribers\[email protected]'
        );

If I understood document correctly, above example should work.. But it seems there is something that I'm doing wrong.. How can I make it work this subscriber ?

06 Jan
2 months ago

hsntngr left a reply on Laravel Dosen't Redirect Request

The problem is not about specify a prefix to a route. I already setup the locale and fallback languages by request region. And I also don't want to present my webpages without lang parameter, it not good for seo (as I know).

If user dont use links and buttons and type url manually he may forgot the lang parameters. So url will return 404 page instead of target page. When that happened I want to catch that url, add the lang parameter and redirect to the correct page..

Actually I may found a solution couple minutes ago. I moved above code into Exceptions/Handler.php and it seems work

public function render($request, Exception $exception)
    {
        if($exception instanceof NotFoundHttpException){
            $langParameter = $request->segment(1);
            $supportedLanguages = config("translate.locales");
            if (strlen($langParameter) == 2) {
                $locale = $langParameter;
                if (in_array($locale, $supportedLanguages))
                    app()->setLocale($locale);
                else {
                    app()->setLocale(config("en"));
                }
            } else {
                $locale = in_array($request->getPreferredLanguage(), $supportedLanguages) ?
                    $request->getPreferredLanguage() : config("translate.locale");
                $redirectTo = $locale . $request->getPathInfo();
                app('session')->reflash();
                return redirect($redirectTo, 302, ['Vary' => 'Accept-Language']);
            }
        }
        return parent::render($request, $exception);
    }

hsntngr left a reply on Laravel Dosen't Redirect Request

@sergiu17 it was but I tihs time I was not able to redirect request so I moved to AppServiceProvider (I know it's very bad practise I couldn't see any solution)

There are two types of routes, localized and non-localized

non localized routes

Route::get("sitemap.xml", [
    "as" => "sitemap",
    "uses" => "[email protected]"
]);

// /sitemap.xml

and localized routes

// in RouteServiceProvider 
Route::group([
       'middleware' => ["web","translate"],
       'namespace' => $this->namespace,
  ], function ($router) {
       require base_path('routes/games.php');
});

// in route file
Route::group([
    "prefix" => app()->getLocale();
], function () {
Route::get("blog","[email protected]");
});

@snapey well it was a global middleware at the first place, but I realized it's not able to redirect request if they are not have lang parameter. Because localized routes has dynamic lang parameter as you can see above, if lang parameters doesn't exist it throws route not found error and returns 404. So I moved to above code block to AppServiceProvider to check request whether request has lang parameter
05 Jan
2 months ago

hsntngr left a reply on Laravel Dosen't Redirect Request

@sergiu17 when I move to this code a middleware and there is url without lang parameter, it throws route not found error and gives 404 error.. So request can't reach the middleware

hsntngr started a new conversation Laravel Dosen't Redirect Request

Make a redirection in AppServiceProvider

I'm trying to do redirection in AppServiceProvider. if url doesn't have any lang parameter, I want to add lang parameter and redirect request to updated url.. But nothing happens.

public function boot(Request $request)
    {
        if (!$this->doNotLocalize($request)) {
            $langParameter = $request->segment(1);
            $supportedLanguages = config("translate.locales");
            // Dump the first element (empty string) as getPathInfo() always returns a leading slash
            if (strlen($langParameter) == 2) {
                $locale = $langParameter;
                if (in_array($locale, $supportedLanguages))
                    $this->app->setLocale($locale);
                else {
                    $this->app->setLocale(config("en"));
                }
            } else {
                $locale = in_array($request->getPreferredLanguage(), $supportedLanguages) ?
                    $request->getPreferredLanguage() : config("translate.locale");
                $redirectTo = $locale . $request->getPathInfo();
                // Save any flashed data for redirect
                app('session')->reflash();
                redirect($redirectTo, 302, ['Vary' => 'Accept-Language']);
            }
        }
   }

Am I doing wrong or are we not able to redirect requests in service providers ?

29 Dec
2 months ago

hsntngr started a new conversation Laravel Route Not Found Error While Using Global Route Prefix

I'm using laravel 5..7 and having some trouble on multilingual website... I have global route prefix for adding seo purposes. (adding lang parameters like en,tr to url)

 Route::group([
            'middleware' => 'web',
            'namespace' => $this->namespace,
            'prefix' => in_array(Request::segment(1), $this->noLangPrefix) ? "" : Request::segment(1)
        ]...

it actually works pretty well with below Language middleware..


public function handle($request, Closure $next)
    {
        $langSegment = $request->segment(1);

        // go ahead if is admin panel or sitemap
        if ($langSegment == "admin")
            return $next($request);

        if ($langSegment == "sitemap.xml")
            return $next($request);

        // if is homepage 
        if (is_null($langSegment)) {
            app()->setLocale($request->getPreferredLanguage((config("app.locales"))));
            return $next($request);
        }

        if (strlen($langSegment) == 2)
            return $next($request);

        return redirect(url(config("app.locale") . "/" . implode($request->segments())));
    }

When i say, "app.test/blog" it redirects me to "app.test/tr/blog"

But if I say "app.test/blog/sample-blog-spot" it gives me Symfony\Component\HttpKernel\Exception\NotFoundHttpException

Why I'm getting this error ? Because it cant fine route or something and how can I fix it ?

05 Nov
4 months ago

hsntngr started a new conversation Laravel Eager Loading Doesn't Work While Using View::composer() Method

I'm trying to get some of current post for sidebar. So I create a composer method inside of [email protected] method.

I'm able to get products and also see to media relation in relations segments. But it seems empty. (But all products have 3 image minimum and I can see them when I write this query at controller)

\View::composer("frontend._partials._sidebar", function ($view) {
            $new_products = Product::select("title", "slug")
                ->with("media")
                ->orderBy("id", "desc")
                ->take(5)
                ->get();

            $view->with("new_products", $new_products);
        });

#relations: array:1 [▼ "media" => Collection {#930 ▼ #items: [] } ]

How do I fix this ?

02 Nov
4 months ago

hsntngr left a reply on User Fields Seem Empty When The User Is Has Been Registered

I have no idea what is happening. But I guess it's not about adding extra columns Because It happened after updating to 5.7 from 5.6

Should I create bug report on github ?

hsntngr left a reply on User Fields Seem Empty When The User Is Has Been Registered

@tykus they are null in database record.

You can see database record clearly in this ss (https://imgur.com/a/nNwmkTp)

hsntngr left a reply on Ser Fields Seem Empty When The User Is Has Been Registered

@tykus the role column has default value, so no need to specify field I guess ?

hsntngr started a new conversation Ser Fields Seem Empty When The User Is Has Been Registered

I added couple new columns to users table like role, suspended_at and banned_at. And then added them as fillable.

But when new user registered, fields seems empty (except id,created_at and updated_at).

Here is migration file

Schema::create('users', function (Blueprint $table) {
        $table->increments('id');
        $table->string('name');
        $table->string("username", 20)->unique()->index();
        $table->string('email')->unique();
        $table->string('password');
        $table->string("role",15)->default("newbie");
        $table->rememberToken();
        $table->timestamps();
        $table->dateTime("suspended_at")->nullable();
        $table->dateTime("banned_at")->nullable();
    });

User model

protected $fillable = [
        'name', 'email', 'password', "username", "role", "suspended_at", "banned_at"
    ];

**a small demo from users table. **

+----+------+----------+-------+----------+------+
| id | name | username | email | password | role |
+----+------+----------+-------+----------+------+
|  4 |      |          |       |          |      |
+----+------+----------+-------+----------+------+

RegisterController

protected function create(array $data)
{
    return User::create([
        'name' => $data['name'],
        'email' => $data['email'],
        "username" => $data["username"],
        'password' => Hash::make($data['password'])
    ]);
}
31 Oct
4 months ago

hsntngr started a new conversation How To Get All Values From Session Which Start With Certain Key

As the title, I want to get all values from session which start with certain value.

For example, I'm counting post views in my project and I'm storing them on session. Then I want to reach all stored viewed values on session..

Session::put("views.".$post->id);

How can I get all stored views ?

is there any way to do it something like below ?

Session::get("views.*");
26 Oct
4 months ago

hsntngr started a new conversation Laravel - Js Sections Of Different Blade Files Making Conflict

I have two blade file and both of them has js section. But in the browser, shows only comments js files not single. I need to use both js files.

Here are blade files in a nutshell

comments.blade

// php and html codes
@section("js")
 // js codes of comments blade
@endsection

single.blade

@extends("master")
@section("content")
 // html and php codes 
 @include("comments")
@endsection
@section("js")
 // js codes of single blade
@endsection

Why there are conflict between two blade file ? And how do I fix it ?

01 Sep
6 months ago

hsntngr left a reply on Disable Laravel Error Reporting

did you clear cache after that ? php artisan config:clear

hsntngr left a reply on Binding Many Singleton Is Harmful ?

@topvillas then how about bind() method ? is it similar with singleton ? If I use bind method, is laravel create instance when I need it ?

hsntngr started a new conversation Binding Many Singleton Is Harmful ?

I'm trying to do repository pattern and binding all repositories in RepositoryServiceProvider. When a http request started, do all singleton binding again and again ? And is it harmful, is slow down the application ?

 public function register()
    {

        $this->app->singleton(IGameRepository::class,function ($app){
          return new GameCacheRepository((new GameEloquentRepository((new Game))));
        });

        $this->app->singleton(IUserRepository::class,function ($app){
            return new UserCacheRepository((new UserEloquentRepository((new User))));
        });

        $this->app->singleton(IArticleRepository::class,function ($app){
            return new ArticleCacheRepository((new ArticleEloquentRepository((new Article))));
        });
...
16 Aug
7 months ago

hsntngr started a new conversation How Can I Create Query About Relations And Non Relations Tables ?

Well, it's hard to complain at the title, sorry for such a ridiculous title..

I have many tables named suspended_users, drafts, post_translations, products, reviews and specs

When I get the suspended user also I want to get related product about him. Suspect model have relation with Draft, Draft model have relation with PostTranslation.

I can easly acces the post_translations table, there is no problem with that. But I can't access the products, reviews or specs table from post_translations. How can I make it ?

Draft table for the suspicious reviews or product description (users are allowed to change those descriptions) If some users try to delete contents or try to spamming, I want to store them their posts as a draft.

So... Do you have any advice to make that ? I try with joins, relation load or with methods but didin't work yet..

Here are migrates..

Schema::create('suspended_users', function (Blueprint $table) {
            $table->increments('id');
            $table->integer("user_id")->unsigned();
            $table->integer("article_id")->unsigned();
            $table->timestamps();

            $table->foreign("user_id")->references("id")->on("users")->onDelete("cascade");
            $table->foreign("article_id")->references("id")->on("post_translations")->onDelete("cascade");
        });

Schema::create('drafts', function (Blueprint $table) {
            $table->increments('id');

            $table->integer("user_id")->unsigned()->nullable();
            $table->integer("article_id")->unsigned()->index();
            $table->longText("content");
            $table->timestamps();

            $table->foreign("article_id")->references("id")->on("post_translations")->onDelete("cascade");
            $table->foreign("user_id")->references("id")->on("users")->onDelete("cascade");
        });

Schema::create('post_translations', function (Blueprint $table) {
            $table->increments('id');

            $table->integer('post_id')->unsigned(); // means product or review id
            $table->integer("user_id")->unsigned();

            $table->string("post_type",20); // means table of post (like reviews)
            $table->string("post_status",20);
            $table->string('locale')->index();

            $table->longText('content')->nullable();
        });

Schema::create('products', function (Blueprint $table) {
            $table->increments('id');
            $table->string("title");
            $table->string("slug");
            $table->dateTime("release_date");
            $table->timestamps();
        });
14 Aug
7 months ago

hsntngr started a new conversation Is Cache Class Serialize The Collection When It Stored ?

I'm trying to cache my posts first time in laravel and I wanna ask something. Is laravel cache class serialize the collectin ? Or we have to serialize returning collection ?

$post_article = \Cache::remember("posts.$post->id." . app()->getLocale(), $minutes = "720", function () use ($post) {
            if (\Cache::has("posts.$post->id"))
                return \Cache::get("posts.$post->id." . app()->getLocale());
            else
                return PostTranslation::getTransArticle($post->id, "review", "published")
                    ?? trans("posts.noDataAboutPost");
        });
``

10 Aug
7 months ago

hsntngr left a reply on About Route Parameters

@cmdobueno yeah me too, I didin't use it before but there are multilingual part in url, so url should be like..

"{slug]"."-".trans("product.name")

I checked out the document but got nothing :/

hsntngr started a new conversation About Route Parameters

Can I use that for defining a parameter ?

Route::get("{slug}"."-product"...)

I tried that but it gives me page not found error. it doesn't match with route

hsntngr started a new conversation Laravel Page Not Found Error While Using Global Route Prefix

I want to build multilingual website with laravel and I want to make urls seo friendly.

So I added prefix to whole routes language segment using RouteServiceProvider

Route::group([
            'middleware' => 'web',
            'namespace' => $this->namespace,
            'prefix' => $this->app->getLocale()
        ], function ($router) {...);

Are we should any parameter for the language ? Because I didin't use any parameter for routes..

Route::group(["prefix"=>trans("routes.admin")],function (){
    Route::get("/",["as"=>"admin.index","uses"=>"[email protected]"]);
});

I research about it on stackoverflow, laravel.com but I couldn't find anything useful.

How do I can fix this error ? Any help would be appreciated.

09 Aug
7 months ago

hsntngr left a reply on Laravel Can't Find Other Language Files

@click Finally I find out, it was about directory permission.. thanks for your all help and patient

hsntngr left a reply on Laravel Can't Find Other Language Files

@click I checked out call trace with xdebug but still can't figure out..

hsntngr left a reply on Laravel Can't Find Other Language Files

@click I'm sorry, I didin't see to your last sentence..

hsntngr left a reply on Laravel Can't Find Other Language Files

@click works fine, it says "Hello!"

hsntngr left a reply on Laravel Can't Find Other Language Files

@click Yes I though that. So I reinstall laravel and tried with that no package, no custom codes. Just laravel and localization codes.. that didin't work too..

I cleared even route cache :D But didin't help too..

hsntngr left a reply on Laravel Can't Find Other Language Files

@Cronix

Well, there are no errors and I try to dump results like getLocale(), $request->segment(1) etc.. And didin't encounter with anything wrong.. everything seems work fine..

I used translation helpers, I tried with @trans, trans() and __()

hsntngr left a reply on Laravel Can't Find Other Language Files

@click it says "These credentials do not match our records."

hsntngr left a reply on Laravel Can't Find Other Language Files

@s4muel they're all in lang directory, I just forgot to type