Laravel-JS-Localization icon indicating copy to clipboard operation
Laravel-JS-Localization copied to clipboard

Updated lang path getting mechanism

Open m0stwan1ed opened this issue 3 years ago • 0 comments

Defining of localization folder has been updated: Laravel 9 has new lang folder path: '/lang', this causes an exception: 'resources/lang doesn't exists!' during the files creation.

In Laravel 5.0 (also available in newer version) App::langPath() method has been added, which helps to get lang folder absolute path, so there is no need to manually build path to lang folder anymore

m0stwan1ed avatar Aug 09 '22 14:08 m0stwan1ed