Slovenian is not Slovak
Slovene and Slovenian are two English names for the same language, but Slovak is a different language. In the phrase Ne govorim slovensko, slovensko refers to speaking in Slovenian. The familiar appearance of Slavic vocabulary does not mean you can substitute words from another language without changing the meaning or sounding unfamiliar to listeners.
Where another official language may help
Italian has official status alongside Slovenian in designated bilingual areas with Italian communities, including parts of the coast. Hungarian has corresponding status in designated areas near the Hungarian border. If someone begins speaking one of those languages, choose the appropriate language-specific expression rather than assuming that every encounter will begin in Slovenian.
From a language barrier to a practical answer
On a walking trip, a place name, trail number or map can establish what you are asking about without requiring a full conversation. If you know a few words of Slovenian, explain your level before asking for simpler wording. For safety instructions, confirm the important details carefully instead of relying on a guess based on a related language.