mirror of
https://github.com/Oreolek/kohana-multilang.git
synced 2024-05-14 23:08:38 +03:00
Missing
This commit is contained in:
parent
c754d49fed
commit
b016642d86
|
@ -95,7 +95,7 @@ If you wanna create a route for only one language, you're gonna have to pass a 4
|
||||||
'action' => 'made_in_france',
|
'action' => 'made_in_france',
|
||||||
));
|
));
|
||||||
|
|
||||||
And then to get it `Route::get('fr.product.made-in-france')` or `Route::get('product.made-in-france', 'fr)`.
|
And then to get it `Route::get('fr.product.made-in-france')` or `Route::get('product.made-in-france', 'fr')`.
|
||||||
|
|
||||||
The default route is particular and its declaration is set in init.php. Since it doesnt need any translations and has a different behaviour (we wanna keep the trailing slash), we create a custom route that alows all the languages.
|
The default route is particular and its declaration is set in init.php. Since it doesnt need any translations and has a different behaviour (we wanna keep the trailing slash), we create a custom route that alows all the languages.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue