You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't understand well why the "value" field should be nullable. I think it would be better if assignment of null/empty value mean deleting of this particular translation.
I currently building an multilingual site, in which admin has ability to enter texts in different languages. If the text for some language wasn't filled by site admin, or was cleared, it obviously means "Translation is not available yet, English text should be used instead", not "Nothing should be displayed in this language". For now I have to handle it in controller, but I think this should be done by translation trait itself.
The text was updated successfully, but these errors were encountered:
lesf0
changed the title
Transition deletion on null assignment.
Translation deletion on null assignment.
Feb 17, 2017
Hello!
I don't understand well why the "value" field should be nullable. I think it would be better if assignment of null/empty value mean deleting of this particular translation.
I currently building an multilingual site, in which admin has ability to enter texts in different languages. If the text for some language wasn't filled by site admin, or was cleared, it obviously means "Translation is not available yet, English text should be used instead", not "Nothing should be displayed in this language". For now I have to handle it in controller, but I think this should be done by translation trait itself.
The text was updated successfully, but these errors were encountered: