Skip to content
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

fallback to fallback_locale translation when empty string #34128

Closed
wants to merge 1 commit into from
Closed

fallback to fallback_locale translation when empty string #34128

wants to merge 1 commit into from

Conversation

ahmedsayedabdelsalam
Copy link
Contributor

// ar
'foo' => ''
// en
'foo', => 'bar'

before
trans('file.foo',[],'ar') // ''

after
trans('file.foo',[],'ar') // 'bar'

@GrahamCampbell
Copy link
Member

Please send this to 6.x, since this is a bug fix. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants