Remove usage of deprecated and MW specific i18n global function

Change-Id: If597c9209028b68be01bbcca59639b7e2194630d