2015-02-12 105 views
2

即時通訊使用Laravel 4.2。Laravel:如何在selectMonth中更改語言?

代碼:

{{ Form::selectMonth('month') }} 

結果:

<select id="month" name="month"> 
    <option value="1">January</option> 
    <option value="2">February</option> 
    <option value="3">March</option> 
    <option value="4">April</option> 
    <option value="5">May</option> 
    <option value="6">June</option> 
    <option value="7">July</option> 
    <option value="8">August</option> 
    <option value="9">September</option> 
    <option value="10">October</option> 
    <option value="11">November</option> 
    <option value="12">December</option> 
</select> 

我想將其更改爲印尼語言。

<select id="month" name="month"> 
    <option value="1">Januari</option> 
    <option value="2">Februari</option> 
    <option value="3">Maret</option> 
    <option value="4">April</option> 
    <option value="5">Mei</option> 
    <option value="6">Juni</option> 
    <option value="7">Juli</option> 
    <option value="8">Augustus</option> 
    <option value="9">September</option> 
    <option value="10">Oktober</option> 
    <option value="11">November</option> 
    <option value="12">Desember</option> 
</select> 

回答