Fix .po files generation by i18n_manager
Add trans_locales method in generated beams to detect possible translation locales