Add support for locale key on translate method when saving.