Allow custom checkout fields to be localized

Fixes issue #4239