Document Classes ⇒ babel : No hyphenation patterns were loaded for the language
babel : No hyphenation patterns were loaded for the language
I've just updated MikTeX version 2.4 to MikTeX version 2.6 and everything seems to be working as usual, except I get the warning:
No hyphenation patterns were loaded for the language `Danish'
Did I do something wrong? How can I fix this?
No hyphenation patterns were loaded for the language `Danish'
Did I do something wrong? How can I fix this?
NEW: TikZ book now 40% off at Amazon.com for a short time.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: Package babel warning
Start a second run on your document. Otherwise erase all the files you didn't create yourself (all files except the TEX file) and start another run.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Package babel warning
It doesn't help, even if I create a whole new document I still get the warning. Also, depending on which documentclass I choose it won't even create the Danish characters anymore 

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: Package babel warning
Another chance could be to add the danish language in the MiKTeX Settings (tab "Languages").
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Package babel warning
I did that, but it doesn't seem to make a difference 

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
babel : No hyphenation patterns were loaded for the language
Maybe i forgot a detail to mention. You have to build the new formats with MiKTeX Settings (tab "Formats"). Just klick an entry in the list and then the button "Build".
In case that this isn't successful, you have to do a workaround. After searching a little bit in the world wide web, i found a solution (originally worked out for a Linux system). It affects the file "language.dat", which can be found in two different paths.
Search the file located in the first path and uncomment the line for your language (by deleting the character "%").
If that doesn't help, try the same procedure with the file in the second path and don't forget so save the file.
Please report in every case if this was successful. And which method did the trick.
In case that this isn't successful, you have to do a workaround. After searching a little bit in the world wide web, i found a solution (originally worked out for a Linux system). It affects the file "language.dat", which can be found in two different paths.
Code: Select all
C:\Program Files\MiKTeX 2.6\tex\generic\config
C:\Program Files\MiKTeX 2.6\tex\platex\config
Code: Select all
…
%danish dkhyph.tex
…
Code: Select all
…
%danish dkhyphen.tex
…
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Package babel warning
Thank you for trying to help, but I'm afraid none of it worked for me. I just discovered that I only get the warning when building LaTeX => PDF, and not when using either LaTeX => DVI or LaTeX => PS, though I am only able to view the output when using pdf. So I'm thinking that maybe I just did something wrong when trying to install it or the settings aren't right?
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: Package babel warning
Last chance could be to contact the maintainer of MiKTeX. He's very kind in supporting users, even if they are not registered.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Package babel warning
Thank you I will try that
Funny thing is that I don't even get the warning anymore though, after installing miktex-hyph-danish package, but it still won't show the Danish letters. Strange 

