You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Gabriela Busu (JIRA)" <ji...@apache.org> on 2009/07/21 17:40:59 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 ]

Gabriela Busu updated WW-2927:
------------------------------

    Attachment: changed_files_RO.zip

In the attached archive "changed_files_RO.zip" the files that need to be changed for adding Romanian language were added. In order to work, the folder was put in the classpath (WEB-INF/classes).
Changes needed in jsp page:
1. <sx:head parseContent="true" extraLocales="ro-RO" />
2. the language attribute for the sx:datetimepicker set to "ro-RO"

Note: the archive might not contain all translations, but it is intended to give an example on how to add support for a new language.
Note for development: do not forget to clear the browser's cache! :-)


> 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
>         Attachments: changed_files_RO.zip
>
>
> 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.