Removed old i18n support, replaced $dir with __DIR__

Change-Id: I0c6f181fd010aec3f5cee1d3ffee1a3f626c007d