How do I translate for pt-BR?

1

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?

    
asked by anonymous 21.02.2015 / 14:06

1 answer

-1
  

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>

Font

    
21.02.2015 / 17:23