warehouse: implement i18n contract support

Change-Id: I8bb1febc1a2f60f7379405c8fb4fe7b3f9370049