The `oae-ui` module exposes a `translate` module which works very similar to the UI method. It uses the UI bundles for the i18n keys. There is no distinction between widget and main bundles though. It assumes that all the keys are distinct.