Skip to content

rseon/laravel-tongue-test

Repository files navigation

Minimal Laravel to test awesome pmochine/Laravel-Tongue

composer create-project laravel/laravel laravel-tongue-test
composer require barryvdh/laravel-debugbar --dev
php artisan vendor:publish --provider="Barryvdh\Debugbar\ServiceProvider"
composer require pmochine/laravel-tongue
php artisan vendor:publish --provider="Pmochine\LaravelTongue\ServiceProvider" --tag="config"

Issue

Source issue

I want to set the main locale as fr without subdomain.

I have created 4 domains :

There is 1 localized route for test.

The localized domains (with sudomains) are working properly but the generic (http://my-domain.dv) depends on the last visited subdomain.

The localized routes are not translated.

Expectation

en.my-domain.dv

es.my-domain.dv

my-domain.dv

For the first access, FR is by default (correct) but after depends on the last visited subdomain.

Sometimes, http://en.my-domain.dv redirects to http://my-domain.dv

Comments

When installing the package, warning from Composer : Package layershifter/tld-support is abandoned, you should avoid using it. No replacement was suggested.

About

Only to test awesome pmochine/Laravel-Tongue

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published