You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Søren Pedersen (JIRA)" <ji...@apache.org> on 2009/01/05 08:42:37 UTC

[jira] Updated: (WW-2927) datetimepicker does not support danish language

     [ https://issues.apache.org/struts/browse/WW-2927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Søren Pedersen updated WW-2927:
-------------------------------

    Description: 
I am missing support for the danish language in datetimepicker. 

To solved the problem we tried to unpack struts2-dojo-plugin.jar and added two new files: 
 - org\apache\struts2\static\dojo\nls\dojo_da.js
 - org\apache\struts2\static\dojo\src\i18n\calendar\nls\da\gregorian.js 

The html we use look like this:

<html>
<head>
    <sx:head extraLocales="da" />
</head>
<body>
<table>
<sx:datetimepicker label="In Danish"  name="sip" language="da" />
</table>
</body>
</html>

But it didn't work.

If I can fix the issue myself I will be happy to contribute.

Regards,
Søren Pedersen


  was:
I am missing support for the danish language in datetimepicker. 

To solved the problem we tried to unpack struts2-dojo-plugin.jar and added two new files: 
 - org\apache\struts2\static\dojo\nls\dojo_da.js
 - org\apache\struts2\static\dojo\src\i18n\calendar\nls\da\gregorian.js 

The html we use look like this:

<html>
<head>
    <sx:head extraLocales="da" />
</head>
<body>
<table>
<sx:datetimepicker label="In Danish"  name="sip" language="da" />
</table>
</body>
</html>

But it didn't work.

If I can fix the issue myself I will be happy contributed.

Regards,
Søren Pedersen



> datetimepicker does not support danish language
> -----------------------------------------------
>
>                 Key: WW-2927
>                 URL: https://issues.apache.org/struts/browse/WW-2927
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Plugin - Dojo Tags
>    Affects Versions: 2.1.2
>         Environment: WebLogic 9.2, client IE6 and IE7
>            Reporter: Søren Pedersen
>
> I am missing support for the danish language in datetimepicker. 
> To solved the problem we tried to unpack struts2-dojo-plugin.jar and added two new files: 
>  - org\apache\struts2\static\dojo\nls\dojo_da.js
>  - org\apache\struts2\static\dojo\src\i18n\calendar\nls\da\gregorian.js 
> The html we use look like this:
> <html>
> <head>
>     <sx:head extraLocales="da" />
> </head>
> <body>
> <table>
> <sx:datetimepicker label="In Danish"  name="sip" language="da" />
> </table>
> </body>
> </html>
> But it didn't work.
> If I can fix the issue myself I will be happy to contribute.
> Regards,
> Søren Pedersen

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.