Jump to content
You must now use your email address to sign in [click for more info] ×

Auto-hyphenation is not working in Danish language


Recommended Posts

I followed this guide :

 

And got Danish installed. But the auto-hyphenation is not working.
I tried to install it again, but it dosen't work in Danish. The files are downloaded correctly.
The Danish language appears in the language setting under the hypenation language field.


But when I tried with the hyphenation in other languages like English and German, it works perfectly fine.

Does anyone know how to fix this?

 

Edited by VNESSA
Link to comment
Share on other sites

Welcome to the Serif Affinity forums.

Did you download the dictionary files using the directions in the first post in that FAQ, or did you download the actual files provided in the second post?

It is easy to get the files in the wrong format if you just try to follow the directions in the first post. And even if the language shows up correctly in the Character panel options, I would still first suspect an error in the downloaded dictionary file because I've seen that several times. But it's easy to check by opening the hyphenation dictionary with a standard text editor. If it looks like plain text, not HTML, then it's probably good.

If it's good, then possibly you need to adjust the Hyphenation settings, or possibly there's something wrong. I don't have any Danish text to play with, and would have a hard time telling if the hyphenation were correct even if I had some. If you could provide a sample .afpub document with some Danish text, and information on where you would have expected hyphenation, I'd be happy to look at it.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 17.7, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.7

Link to comment
Share on other sites

Hi Walt.
Thank you :)

I have already reinstall the file, where I downloaded the file directly from GitHub.

I have attached a screenshot of the file. It does say HTML in the file. Does it look right?

I have attached a .afpub document with a random danish text from web to give you an example to test on.
I want to justify my text to the left and use the auto-hyphenation, so I don't get to much spaces between the words.


 

screenshot-hyph.PNG

test-danish.afpub

Link to comment
Share on other sites

41 minutes ago, VNESSA said:

I have attached a screenshot of the file. It does say HTML in the file. Does it look right?

No, that is definitely the wrong format. It should look like this:

ISO8859-1
.ae3
.an3k
.an1s
.be5la
.be1t
.bi4tr
.der3i
.diagno5
.her3
(and more after this)

You should download all three "da" files using the second post in that FAQ article. They are in the right format for you, without all the extra work you need to do to download correctly from GitHub.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 17.7, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.7

Link to comment
Share on other sites

You're welcome :)

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 17.7, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.7

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.