Replies: 2 comments 3 replies
-
This would be great, it seems like the |
Beta Was this translation helpful? Give feedback.
0 replies
-
I've since figured out that you do this through Field::configureUsing(function(Field $field): void {
$field->translateLabel();
}); |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
Perhaps this is already possible and I've simply overlooked it, but in general my idea is:
Allow
translateLabel
to be configurable globally. If you're making a multi language application, you pretty much want to run all labels through translation.As far as I'm aware, I need to call the
translateLabel
method every time specially. My suggestion, and I'm willing to contribute a PR for this, would be to:translateLabel
to true by defaultHasLabel
traitBeta Was this translation helpful? Give feedback.
All reactions