This is the 253rd most frequent Latvian word.
latvijai
"Latvijai" means "for Latvia" in English.
"Latvijas" is the genitive case of "Latvija" used here as a possessive form to specify attribution.
Es dziedu himnu Latvijas patriotisma godināšanai.
I sing the anthem in honor of Latvia's patriotism.
"Latvijas" is the possessive form, describing the festival as being related to Latvia.
Mēs piedalāmies Latvijas kultūras festivālā.
We participate in the cultural festival of Latvia.
"Latvijai" is the dative case, expressing gratitude towards Latvia.