[ http://jira.magnolia.info/browse/MAGNOLIA-1172?page=comments#action_13315 
] 
            
Chris Miner commented on MAGNOLIA-1172:
---------------------------------------

Assuming it isn't just that the localization strings are not shown, but also 
that the calendar consists of just one week, then the problem also occurs for 
the german version of the calendar.  I tracked down the problem to an attribute 
that you find in three of the calendar localization files.  en, es, and ja have 
a line such as:

// First day of the week. "0" means display Sunday first, "1" means display
// Monday first, etc.
Calendar._FD = 1;

The other files don't.  When you add that line to the german version of the 
calendar, then it works.

> Localization of calendar in the  'date' control doesn't work
> ------------------------------------------------------------
>
>                 Key: MAGNOLIA-1172
>                 URL: http://jira.magnolia.info/browse/MAGNOLIA-1172
>             Project: Magnolia
>          Issue Type: Bug
>          Components: admininterface
>    Affects Versions: 3.0 RC4
>         Environment: windows XP Pro, Tomcat 5.0, java j2sdk1.4.2_12
>            Reporter: Adrien FONT
>         Assigned To: Philipp Bracher
>         Attachments: screenshot.png
>
>
> When using the calendar of a date controle, the JS objet does not draw 
> correctly if we are not using the english language. It seems like the 
> localization strings are not loaded. Instead, 'undefined' is displayed.
> yet when loocking at the HTML code of the generated dialog that is using the 
> calendar, We see the :
> <script type="text/javascript" 
> src="/magnolia/.resources/calendar/lang/calendar-fr.js"></script>
> so, it seems that the file is found and added but the localization resources 
> are not used by the calendar (except  with the default english file).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to