I have a form with the following code:
{{ Form::selectMonth('month') }}
This returns me the months in English, how do I translate it back into Portuguese?
I have a form with the following code:
{{ Form::selectMonth('month') }}
This returns me the months in English, how do I translate it back into Portuguese?
Try to do manually:
{{ Form::selectMonth('month') }}
Produce your options:
<select name="month">
<option value="1">Janeiro</option>
<option value="2">fevereiro</option>
...
</select>
Another example:
{{ Form::selectMonth('month', 7, ['class' => 'field']) }}
<select class="field" name="month">
<option value="1">Janeiro</option>
<option value="2">fevereiro</option>
<option value="3">Março</option>
<option value="4">Abril</option>
<option value="5">Maio</option>
<option value="6">Junho</option>
<option value="7" selected="selected">Julho</option>
</select>