Foreigner is a JavaScript library that will help you with translations.