From: Mark W. <ma...@rw...> - 2011-04-20 10:02:39
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> Hi Peter, <br> <br> Good work on the datepicker. It is much much tidier now!<br> <br> There is several ways we can achieve internationalisation in javascript. Your DateFormatSymbols sounds like the best option.<br> <br> Option 2: use the client_proj_task_javascript.class.php method to generate the dynamic elements of the javascript. (n.b. SVN Update before you look.)<br> <br> Option 3: a different version for each one as Isabelle suggests.<br> <br> Option 4: or... could a internationalisation javascript system be implemented just like it has been done in php?<br> <br> <br> Mark<br> <pre class="moz-signature" cols="72">_____________________________________________ Mob: 07725 695178 Email: <a class="moz-txt-link-abbreviated" href="mailto:ma...@rw...">ma...@rw...</a></pre> <br> On 20/04/2011 10:07, Peter Lazarus wrote: <blockquote cite="mid:4DA...@gm..." type="cite"> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> Hi Isabelle,<br> thanks for your comments. I have added a piece of text before the calendar icon.<br> <br> Regarding the locale business, there is a java function which will do this, but so far I haven't got it to work The class<span class="f12b"><code><font color="#7f0055"><strong> "DateFormatSymbols"</strong></font></code></span> gets the months in the locale format. At this stage I am resisting changing everything to the protoplasm datepicker code.<br> <br> Peter<br> <br> On 04/20/2011 05:03 PM, Isabelle Vergely wrote: <blockquote cite="mid:206...@sp..." type="cite"> <pre wrap="">Hello Peter, I like this new display of the java date picker in simple.php. For internationalisation, the removal the date entry field (input box) is a good idea. Before the icon cal.gif, it would be useful to have a string like JText::_('SELECT_OTHER_WEEK'). For internationalisation of the calendar, we can imagine locale js files e.g. en_GB.js, fr_FR.js, es_ES.js with the days and the months with the appropriate language. To make the link between a java date picker and the right locale js file, what do you think about these tools: - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://jongsma.org/software/protoplasm/control/datepicker?page=datepicker">http://jongsma.org/software/protoplasm/control/datepicker?page=datepicker</a> - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://docs.jquery.com/UI/Datepicker">http://docs.jquery.com/UI/Datepicker</a> Cheers. Isabelle. </pre> </blockquote> <pre wrap=""> <fieldset class="mimeAttachmentHeader"></fieldset> ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/vmware-sfdev2dev">http://p.sf.net/sfu/vmware-sfdev2dev</a></pre> <pre wrap=""> <fieldset class="mimeAttachmentHeader"></fieldset> _______________________________________________ Tsheetx-developers mailing list <a class="moz-txt-link-abbreviated" href="mailto:Tsh...@li...">Tsh...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/tsheetx-developers">https://lists.sourceforge.net/lists/listinfo/tsheetx-developers</a> </pre> </blockquote> </body> </html> |