locative singular + iti (quotative particle)
Analysis. lokasmiṃ (locative singular of loka, 'in the world') + iti (quotative particle marking direct or indirect discourse, 'thus, so'); used to introduce or frame a statement: 'in the world, [thus...]' or 'concerning the world, [it is said that...]'.
Etymology. loka is from Indo-European *leuk- 'to shine, be light', akin to Latin lūx 'light', English light, and Sanskrit lok- (cf. lokáḥ 'world, space'). The root sense is the space that is illuminated or visible—the manifest world of experience, as opposed to the hidden or transcendent. The concrete image of light defining a bounded space evolved into the abstract sense of realm or plane of existence.
Meanings from the Digital Pāḷi Dictionary; morphology and etymology by Claude.
Lite mode — plain HTML for e-readers and old browsers. Full version