extract code from i18n scala code