Breakdown of Ako ne dobijem godišnji u srpnju, ostat ću u gradu.
Questions & Answers about Ako ne dobijem godišnji u srpnju, ostat ću u gradu.
Yes. Godišnji is originally an adjective, but here it is being used as a noun-like word.
It is short for godišnji odmor, which means annual leave or vacation time from work. In everyday Croatian, people very often shorten it to just godišnji when the meaning is obvious.
So in this sentence, dobiti godišnji means to get annual leave / to be granted vacation time.
Grammatically, the omitted noun is understood, so godišnji functions as the direct object of dobijem.
After ako meaning if, Croatian usually does not use the future auxiliary in this kind of real future condition.
So Croatian says:
Ako ne dobijem ..., ostat ću ...
literally with a present-tense form in the if-clause, even though the meaning is future.
This is very normal Croatian grammar. English does something similar:
If I don’t get leave in July, I’ll stay in the city.
Notice that English also uses present in the if-clause, not if I won’t get.