adding wildcard locale support