jQuery: The Write Less, Do More JavaScript Library

I18n with javascript; text, date, currency

View: New views
1 Messages — Rating Filter:   Alert me  

I18n with javascript; text, date, currency

by Paskalinux :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hallo everybody,

I have a web-application java-jsp based and i want to internationalize
it.
I don't want to use i18n by server side. I want to transate text, date
and currency throught javascript.

I found many plugins which help me to i18n only with the text, but
date and currency.

To give you an idea of how do i want;
1) I want to take the time from server by milliseconds.
2) create javascript Date objects with the milliseconds
3) "translate" the date javascript object in the choosen language

Example:

12736489194 (fake millisecond number)
English visualization 12/25/2009
Japanese visualization 2009/12/25
Fake country visualization 25.12.2009

I want the user free to select throught a SELECT a language and see
the time in to the choosen one.

Thanks a lot!
Pako