Update Foreground.i18n.php

Switch to json based I18n system as used by MW 1.23+