# Hungarian Babel hyphenation error

I have just downloaded MikTeX Portable, installed the latest Babel package on-the-fly (with this strange arabi package), and still got a hyphenation error with Hungarian Babel:

\documentclass[12pt]{article}
\usepackage[margin=2.5cm]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[magyar]{babel}
\begin{document}
Kipróbáljuk, hogy működik-e az elválasztás hosszú szavaknál: megszentségteleníthetetlenségeskedéseitekért.
\end{document}

Package magyar.ldf Warning: All Hungarian hyphenation= patterns missing. To make LaTeX hyphenate Hungarian words, please modify language.dat and rerun initex or texconfig.

I'm using Windows 10 and TeXnicCenter 2.02 if that matters. Do you have any ideas how may I solve it? Thank you in advance!

You can download a lot of things, for example the magyar.ldf from this website: https://math.bme.hu/latex/

• The file is there, it's just not recognised by the system somehow :-( Feb 22, 2018 at 14:05
• It should be on LaTeX's path, the easiest to do that is by simply placing it into the same folder as your tex file. Feb 22, 2018 at 14:10

I gained inspiration from this old SE question. The only thing I had to do was to go to the \texmfs\install\miktex\bin folder, run mo.exe and on the General tab press Update formats. After that everything works perfectly, no warning messages, correct hyphenation.

Edit: