A few weeks ago, Hungary elected a new Prime Minister, Péter Magyar. Perhaps that is an instance of nominative determinism—his surname Magyar means ‘Hungarian’. The Hungarian word for ‘Hungary’ is Magyarország.
English speakers sometimes use Magyar as semi-jocular synonym for Hungarian, but I have the impression that this has become less common in recent decades. Google’s Ngram viewer seems to confirm this: using the default settings, it shows the frequency rising gradually from the early 1900s to 1980, then dropping back rapidly. Google Ngram Viewer: magyar
How to pronounce Hungarian <gy>
Misled by the spelling, English speakers typically pronounce Magyar as /mægjar/. In fact, though, the Hungarian digraph <gy> does not represent the sequence /gj/. Instead, it represents the voiced palatal stop /ɟ/. This sound is pronounced by raising the middle or back of the tongue raised to make contact with the hard palate in the roof of the mouth.
To my (non-native) ear, this consonant sounds something like a cross between /dj/ (palatalised /d/, like the initial consonant in southern English duty) and the affricate /dʒ/ (like the initial consonant in English jet).
Unvoiced palatal stop
The unvoiced counterpart of /ɟ/ is the unvoiced palatal stop, for which the IPA symbol is /c/. Hungarian spells this sound as <ty>.
To my ear, this sounds something like a cross between /tj/ (palatalised /t/, like the initial consonant in southern English tune) and the affricate /tʃ/ (like the initial consonant in English cheese).
Stop or affricate?
Szende (1994) analyses the Hungarian sounds spelled <gy> and <ty> as affricates /ɟʝ/ /cç/ respectively (a stop combined with a fricative). It is worth pointing out, though, that the speaker he analysed (30 years ago) was a male in his 50s from an academic background, using a somewhat advanced style of speech as spoken in a formal communicative situation.
Siptár and Törkenczy (2000), and Kenesei, Vago and Fenyvesi (1998) acknowledge that some people analyse the Hungarian sounds spelled <gy> and <ty> as affricates (a stop combined with a fricative), but both these sources conclude that the sounds are both stops. However, they note that these sounds do bear some affrication, at least in some contexts.
I find it hard not to pronounce these sounds as /dj/ and /t j/. I need to practice them some more.
The vowels in Magyar
The middle consonant is not the only sound in Magyar that English speakers are likely to pronounce in an un-Hungarian way. They tend to pronounce the 1st vowel as near-low front unrounded /æ/ and the 2nd vowel as low back unrounded /ɑː/. In fact, both vowels are pronounced as low back rounded [ɒ] or perhaps mid low back rounded [ɔ], somewhat like the vowel in southern English cot.
Sources
The Phonology of Hungarian, Péter Siptár and Miklós Törkenczy (2000)
Hungarian, Illustration of the IPA, Tamás Szende, Journal of the International Phonetic Association , Volume 24 , Issue 2 (December 1994)
Hungarian (Routledge Descriptive Grammars Series), by István Kenesei, Robert M. Vago and Anna Fenyvesi (1998)
That doesn’t sound too bad, but after 30 years I still can’t pronounce ‘löyly’ correctly in Finnish (it’s to do with saunas). It took me 14 years to learn to pronounce the name of the city of Tampere approximately correctly.