Simplify the paragraph
The suitability of underwear as outer clothing is, apart from the indoor or outdoor climate, largely dependent on societal norms, fashion, and the requirements of the law.
Whether underwear can be used as outer clothing depends on a number of things, such as how warm it is indoors and outdoors, what other people in society find acceptable, fashion, and what the law allows.