web commit by FaidonLiambotis: Revise the locale patch