-
Notifications
You must be signed in to change notification settings - Fork 169
Supports ever changing lang folder #170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good. Thanks for your collaboration.
Guys please... Not the Fix Friday again! @wilpat @rmariuzzo My advice is to enable at least double review, if anyone (e.g. our projects) has the dependency set to Please flag the version as non-working as soon as possible. |
@Chomiciak I apologize for this, that's on me. I removed the broken version from Packagist, I think that should alleviate that issue. Please, let me know if not. |
Also, I appreciate your advice, I will make a call for more maintainers to make double review as you suggested. |
This reverts commit 9e570ee.
$langs = $app['path.base'].'/app/lang'; | ||
} elseif ($laravelMajorVersion >= 5) { | ||
$languagePath = 'resources/lang'; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its better to use app()->langPath()
instead of all this.
From laravel 4 to 8.x we've seen changes to where the
lang
folder lives and this breaks the functionality of this package.This PR makes this path customisable, so the package does not need to be updated every time laravel makes an update to the location of this folder.