Adding localization and beforeFirstExtract handler

Change-Id: If8694725717e69113bbed2791b85a3fb6882530f