-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
lang bug or not? (empty translations) #1698
Comments
Well, I'm sure it probably uses an I'm curious about the need for empty translation strings, though? |
That was done on purpose, so that lang(x) would not fail even with missing translations. |
btw, an empty message value doesn't sound very helpful. |
Is it a bug that lang('File.key') returns File.key for a value defined as empty string?
I think it will be correct as long as key does not exist in File.php array but not in case like null or ''.
Is there a way to define empty translation items?
The text was updated successfully, but these errors were encountered: