Many parameters provide a translatable alternative: when populated with an identifier for the native Laravel's localization ability, those assign a translated string to the reference attribute.
@php
App::setLocale('it');
@endphp
<x-larastrap::button tlabel="example.label" />
<button id="button-df05d376734443730d26280695b3fc36" class="btn btn-primary">Questa è una etichetta</button>
Those attributes are inherited by all Inputs and other components usually used in Forms.
@php
App::setLocale('it');
@endphp
<x-larastrap::text tlabel="example.name" />
<x-larastrap::email tlabel="example.email" />
<div class="row mb-3">
<label for="input-f0b7c6e2828f43e4a69a46ab028a528b" class="col-4 col-form-label">Nome</label>
<div class="col-8">
<input id="input-f0b7c6e2828f43e4a69a46ab028a528b" type="text" class="form-control" name="uHRBATSWWD" value="">
</div>
</div>
<div class="row mb-3">
<label for="input-ff6057e6c7b46ca5fcc6e9b4d782736d" class="col-4 col-form-label">Indirizzo E-Mail</label>
<div class="col-8">
<input id="input-ff6057e6c7b46ca5fcc6e9b4d782736d" type="email" class="form-control" name="ASogI9sjB7" value="">
</div>
</div>
Within the "options" parameter of Checks and other similar widgets, it is possible to use dedicated attributes for strings to be translated.