For server side generated content, i18n support is usually pretty easy, for example, Java provides extensive i18n support.
But, these rich server side libraries are not available within the browser, which causes a problem when trying to format data client side (AJAX style.)
What javascript libraries and techniques are recommended for performing client side formatting and time-zone calculations? Also - beyond simple client side formatting, how can consistency be achieved when performing both server side and client side formatting?