No, solar lights will not charge through a window. Solar lights rely on solar panels to convert sunlight into electrical energy. When placed behind a window, the solar panels will not be able to receive enough sunlight to generate enough electrical energy to power the light.