This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

kuroski
kuroski

Good morning guys. And sorry again for my english xD

I'm trying to use a library to assist the languages ​​part of the site (for example, the urls) Here is the library.

EX:
htttp://url-to-laravel/en
http://url-to-laravel/es

And I got 2 questions:

  • How do I perform the installation of an external library that affects the entire application?
  • And how do I create a route group that affects all urls application with the prefix?? In laravel, I would modify the routes file to get something like this:

    // app/routes.php
    
    Route::group(array('prefix' => LaravelLocalization::setLocale()), function()
    {
        Route::get('/', function()
        {
            return View::make('hello');
        });
    });

Last updated

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.