A method that has proven succesful in locating the energy levels of divalent and trivalent lanthanide ions (Ce, Pr,..., Eu,...Yb, Lu) in wide band gap inorganic compounds like YPO 4 and CaF 2 is applied to locate lanthanide levels in the wideband semiconductors GaN, AlN, their solid solutions Al x Ga 1-x N, and ZnO. The proposed schemes provide a description of relevant optical and luminescence properties of these lanthanide doped semiconductors. Especially, the relation between thermal quenching of Tb 3+ emission and the location of the energy levels is explained.