How to enable and configure on-the-fly translations