Hello,

Dates get displayed in english on our site even if your Browser
is set to german locale. Here are some examples:

http://esx-108.gbv.de/handle/2339.2/197
http://esx-108.gbv.de/handle/2339.3/268
http://esx-108.gbv.de/handle/2339.3/315
http://esx-108.gbv.de/handle/2339.3/371
http://esx-108.gbv.de/handle/2339.3/384
http://esx-108.gbv.de/handle/2339.3/391

If you have Quick Locale Switcher installed in Firefox, you
can see the problem if you switch to german locale.

Actually, this has nothing to do with the browser, but it
does not become obvious as long as everything gets displayed
consistently in english. The formatting happens server-side.

The values are stored in the dcvalue table and the
dc_type_id for the value date.created shown here is 14.
The format stored in the table is like:

1936-05-01
1968-03-26
1970-05-26
1973-05-22
1985-03-27
1987-10

I havent searched within the code to find the
place where the dates get transformed from the
format stored to the format displayed. It is
probably within the content/Item.java. We are
stil running DSpace 1.3.2. Is this fixed
meanwhile?

The difference is visible only with the month
March, May, October and December which show
a different writing in German within the first
three letters: März, Mai, Oktober, Dezember.

I guess it might have to do with the fact that
the field text_lang within the table dcvalue
is empty for all dates. It is set to de properly
with Dublin Core type description but not with
values of some other types.

Is there a simple way to fix this?

Thanks, Christian


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to