Added a method for localizing weapons.