mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 00:02:15 +00:00
add load strings for i18n from database
This commit is contained in:
@@ -28,6 +28,14 @@ class LanguageController extends Controller
|
||||
return Language::all();
|
||||
}
|
||||
|
||||
public function get_language_strings_i18n($language)
|
||||
{
|
||||
$lang = Language::whereLocale($language);
|
||||
|
||||
return $lang->with('languageStrings')->first();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all language strings
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user