You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Sascha Rodekamp (JIRA)" <ji...@apache.org> on 2010/11/19 09:37:13 UTC

[jira] Commented: (OFBIZ-4015) The time part (cursors) of the Date Time picker is not internationalized

    [ 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.