Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

Drugi jezik sa {html_select_date}

[es] :: PHP :: Smarty template engine :: Drugi jezik sa {html_select_date}

[ Pregleda: 2182 | Odgovora: 1 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

Tudfa
Jovicevic Vladimir

Član broj: 152699
Poruke: 384
*.dynamic.sbb.rs.



+3 Profil

icon Drugi jezik sa {html_select_date}24.05.2009. u 18:03 - pre 180 meseci
Da li moze nekako da sa html_select_date imena meseci budu na srpskom ?
 
Odgovor na temu

Tudfa
Jovicevic Vladimir

Član broj: 152699
Poruke: 384
*.dynamic.sbb.rs.



+3 Profil

icon Re: Drugi jezik sa {html_select_date}24.05.2009. u 22:56 - pre 180 meseci
Našao sam ovde neko rešenje, uz pomoć funkcije setlocale mada mi se nije svidelo zbog ovoga (deo iz manuala):
Citat:
Warning
The locale information is maintained per process, not per thread. If you are running PHP on a multithreaded server api like IIS or Apache on Windows you may experience sudden changes of locale settings while a script is running although the script itself never called setlocale() itself. This happens due to other scripts running in different threads of the same process at the same time changing the processwide locale using setlocale().

pa sam upotrebio {foreach}{/foreach} , da ne komplikujem bzvz.
 
Odgovor na temu

[es] :: PHP :: Smarty template engine :: Drugi jezik sa {html_select_date}

[ Pregleda: 2182 | Odgovora: 1 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.