I use the laravel (4.2) plugin (https://github.com/dimsav/laravel-translatable) and i was wondering if anyone knows how to dynamically adjusts "fallback locale".
I have tried this but still not work:
App::make('config')->set('translatable.fallback_locale', 'sl');
Thanks for answer!
====
I have found solution...
Config::set('translatable::fallback_locale', 'sl');
According to documentation here https://github.com/dimsav/laravel-translatable#documentation you can set your fallback locale in your configuration.
return [
'use_fallback' => true,
'fallback_locale' => 'sl',
];