A map shows "teacher" for Hungary, which is tanár in Hungarian.
Using the only the word tanár is, however, impolite. You should say the Hungarian equivalents of "Mr. teacher" or "Ms. teacher":
tanár úr
tanárnő
Úr is Mister or Sir, while nő means "woman". Note that when we talk about…