Laravel-Tongue
Laravel-Tongue copied to clipboard
🎉 Finally a subdomain localization that works how you want it to work. 🌐
fixed href link for url
I'm switching the languages on my site via controllers (a `select` element on a `form` that calls a POST route/controller when language is selected), but when I use `dialect()->translate()` in...
### Introduction The issue is when you have other subdomains such as nova.domain.test, the root path will still show the original website and not changing to the Nova Admin panel....
It would be nice if the routes could be cached like in [mcamara/laravel-localization](https://github.com/mcamara/laravel-localization#caching-routes) ```sh php artisan route:trans:cache ``` Otherwise great job
Hi, I'm trying to use Laravel-Tongue with Laravel Octane. All works as expected, except for the automatic language detection by client settings. So, if I access the application with a...
Getting erorr when using ```php // routes/web.php Route::view('/privacy', 'privacy')->name('privacy'); // some blade @if(tongue()->current() == 'en') @lang('text.lang_switch') @endif ``` the error is TypeError ``` vendor\pmochine\laravel-tongue\src\Accent\Accent.php : 81 TypeError str_replace(): Argument #2...
**Describe the bug** translate function doesn't translate the given route ```blade {{ dialect()->translate('home', [ ], 'en') }} ``` it just returns whatever the current url translated Thanks 👍
**Describe the bug** I'm trying to use the configuration `aliases` `config/localization` ```php 'aliases' => [ 'www' => 'ar', ], ``` I've also enabled `ar` in the `supportedLocales` list the issue...
**Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll...