Fixed sometimes not locating template when specifying language