This is the 918th most frequent Danish word.
lokalt
"Lokalt" means "locally" in English.
The word 'lokalt' functions as an adverb here, describing the manner in which the action (buying fruit) is performed, specifically suggesting that it is done in a local area.
Jeg køber altid frugt lokalt.
I always buy fruit locally.
Here, 'lokale' is an adjective in definite form agreeing with the noun 'bibliotek', indicating a specific regional or nearby facility.
Vi støtter det lokale bibliotek.
We support the local library.
In this sentence, 'lokale' modifies 'avis' as an adjective describing its regional nature, while 'lokalsamfundet' uses the prefix 'lokal-' to form a compound noun referring to the local community.