pulled out translate shortcut into its own module