The time part (cursors) of the Date Time picker is not internationalized
------------------------------------------------------------------------ Key: OFBIZ-4015 URL: https://issues.apache.org/jira/browse/OFBIZ-4015 Project: OFBiz Issue Type: Sub-task Reporter: Jacques Le Roux -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
[ https://issues.apache.org/jira/browse/OFBIZ-4015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12933723#action_12933723 ] Sascha Rodekamp commented on OFBIZ-4015: ---------------------------------------- Another issue i faced at the timepicker stuff is the loading of the i18n files for the timepicker, once we had in our CommonScreen.xml this line: {code} <set field="initialLocale" type="String" value="${groovy:parameters?.userLogin?.lastLocale?.substring(0,2)}" default-value="${groovy:locale?.toString()?.substring(0,2)?:'en'}"/> {code} now it has been changed to {code} <set field="initialLocale" type="String" value="${parameters.userLogin.lastLocale}" default-value="${groovy:locale.toString()}"/> {code} I miss the {code} ?.substring(0,2)?:'en' {code} Because the framework tries to load a jquery.ui.datepicker-de_DE.js but the the file is called jquery.ui.datepicker-de.js. Should we readd the substring stuff? > The time part (cursors) of the Date Time picker is not internationalized > ------------------------------------------------------------------------ > > Key: OFBIZ-4015 > URL: https://issues.apache.org/jira/browse/OFBIZ-4015 > Project: OFBiz > Issue Type: Sub-task > Reporter: Jacques Le Roux > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12933738#action_12933738 ] Jacques Le Roux commented on OFBIZ-4015: ---------------------------------------- Hi Sascha, Yes, great that you found that too. I think we need to do the same I did for prototype. I'm off today, but you may have a look at how it's done in trunk ;) > The time part (cursors) of the Date Time picker is not internationalized > ------------------------------------------------------------------------ > > Key: OFBIZ-4015 > URL: https://issues.apache.org/jira/browse/OFBIZ-4015 > Project: OFBiz > Issue Type: Sub-task > Reporter: Jacques Le Roux > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sascha Rodekamp updated OFBIZ-4015: ----------------------------------- Attachment: OFBIZ-4015_i18nCalFix.patch Jep Jacques, here is the patch :) Have a good day off!! ;) Cheers Sascha > The time part (cursors) of the Date Time picker is not internationalized > ------------------------------------------------------------------------ > > Key: OFBIZ-4015 > URL: https://issues.apache.org/jira/browse/OFBIZ-4015 > Project: OFBiz > Issue Type: Sub-task > Reporter: Jacques Le Roux > Attachments: OFBIZ-4015_i18nCalFix.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12934255#action_12934255 ] Jacques Le Roux commented on OFBIZ-4015: ---------------------------------------- Hi Sascha, Finally I decided to enhance the previous code in order to handle correctly the language_country case (like jquery.ui.datepicker-de-CH.js or jquery.ui.datepicker-fr-CH.js). BTW, for those interested, I found more localized files, notably jquery.ui.datepicker-fr-CH.js, in the last revision at http://jquery-ui.googlecode.com/svn/trunk/ui/i18n/ than in the zipped file we used (I used jquery-ui-1.8.6.custom.zip) It's commited at r1037424 > The time part (cursors) of the Date Time picker is not internationalized > ------------------------------------------------------------------------ > > Key: OFBIZ-4015 > URL: https://issues.apache.org/jira/browse/OFBIZ-4015 > Project: OFBiz > Issue Type: Sub-task > Reporter: Jacques Le Roux > Attachments: OFBIZ-4015_i18nCalFix.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12934255#action_12934255 ] Jacques Le Roux edited comment on OFBIZ-4015 at 11/21/10 6:49 AM: ------------------------------------------------------------------ Hi Sascha, Finally I decided to enhance the previous code in order to handle correctly the language_country case (like jquery.ui.datepicker-de-CH.js or jquery.ui.datepicker-fr-CH.js). BTW, for those interested, I found more localized files, notably jquery.ui.datepicker-fr-CH.js, in the last revision at http://jquery-ui.googlecode.com/svn/trunk/ui/i18n/ than in the zipped file we used (I used jquery-ui-1.8.6.custom.zip) It's commited at r1037428 was (Author: jacques.le.roux): Hi Sascha, Finally I decided to enhance the previous code in order to handle correctly the language_country case (like jquery.ui.datepicker-de-CH.js or jquery.ui.datepicker-fr-CH.js). BTW, for those interested, I found more localized files, notably jquery.ui.datepicker-fr-CH.js, in the last revision at http://jquery-ui.googlecode.com/svn/trunk/ui/i18n/ than in the zipped file we used (I used jquery-ui-1.8.6.custom.zip) It's commited at r1037424 > The time part (cursors) of the Date Time picker is not internationalized > ------------------------------------------------------------------------ > > Key: OFBIZ-4015 > URL: https://issues.apache.org/jira/browse/OFBIZ-4015 > Project: OFBiz > Issue Type: Sub-task > Reporter: Jacques Le Roux > Attachments: OFBIZ-4015_i18nCalFix.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12980262#action_12980262 ] Jacques Le Roux commented on OFBIZ-4015: ---------------------------------------- I put a request at https://github.com/trentrichardson/jQuery-Timepicker-Addon/issues/issue/80/#comment_669870 > The time part (cursors) of the Date Time picker is not internationalized > ------------------------------------------------------------------------ > > Key: OFBIZ-4015 > URL: https://issues.apache.org/jira/browse/OFBIZ-4015 > Project: OFBiz > Issue Type: Sub-task > Reporter: Jacques Le Roux > Attachments: OFBIZ-4015_i18nCalFix.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-4015. ---------------------------------- Resolution: Fixed Fix Version/s: SVN trunk Release Branch 11.04 Assignee: Jacques Le Roux Fixed in trunk r1178199 R11.04 r1178203 > The time part (cursors) of the Date Time picker is not internationalized > ------------------------------------------------------------------------ > > Key: OFBIZ-4015 > URL: https://issues.apache.org/jira/browse/OFBIZ-4015 > Project: OFBiz > Issue Type: Sub-task > Reporter: Jacques Le Roux > Assignee: Jacques Le Roux > Fix For: Release Branch 11.04, SVN trunk > > Attachments: OFBIZ-4015_i18nCalFix.patch > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
Free forum by Nabble | Edit this page |