awaisalvi / struts2-jquery

Automatically exported from code.google.com/p/struts2-jquery
0 stars 0 forks source link

datepicker locale should use the struts current locale #95

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
datepicker locale should use the struts current locale

Original issue reported on code.google.com by johgep on 22 Feb 2010 at 6:17

GoogleCodeExporter commented 9 years ago
is in the svn trunk for next version.

Original comment by johgep on 23 Feb 2010 at 9:15

GoogleCodeExporter commented 9 years ago

Original comment by johgep on 22 Mar 2010 at 12:22

GoogleCodeExporter commented 9 years ago
hi johgep,

great job with the 2.0.0 release! I saw you applied this fix to the new release
but...did you also modify the locale in the sj:head tag? I was using this tag 
with
the grid to localize the grid text elements with the previous version and now it
doesn´t work (messages are always in english although i use the locale="sp"). 
Could
you please explain how could I translate the grid with the 2.0.0 release? 
Thanks in
advance!

Original comment by angelope...@gmail.com on 23 Mar 2010 at 8:23

GoogleCodeExporter commented 9 years ago
there is a small bug in this release that a grid local only is used when 
datepicker 
local is available.

But currently there exists no datepicker loacal "sp" only a grid local.

Original comment by johgep on 24 Mar 2010 at 6:59

GoogleCodeExporter commented 9 years ago
angelopezg3,
try this workarround. Put this below sj:head tag.
    <script type="text/javascript">
    jQuery.struts2_jquery.gridLocal = "es";
    </script>
replace "es" with your language.
Lks

Original comment by lucasdic...@gmail.com on 20 Oct 2010 at 5:25