generate PDF in client locale, closes #4261
Merge branch 'master' into context_menu

Conflicts:
	app/controllers/invoices_controller.rb