Please merge i18n-confirm-n-locale

This branch contains two changes:

1. Internationalize confirmation messages
2. Change the locale when the language is changed

The locale settings is needed for getting formatted date-time strings. For example, strftime("%b") returns "Feb" in en_US, but it returns "2月" in ja_JP.