Jump to content

Recommended Posts

Posted

I would appreciate detailed instructions for how to download and install (under Windows) the swedish Hunshell dictionaries for auto hyphenation (and spell check).

Even better if the Apub download could contain support for more languages, including swedish. Plans?

Posted

The standard instructions are in the following FAQ entry, @BertilT:

 

The specifc dictionary files you need are at https://github.com/LibreOffice/dictionaries/tree/master/sv_SE

I have no idea whether Serif will ever decide to incorporate a complete set of dictionaries for the world's languages, but I think it's unlikely. I suspect they will depend on the users to install many of them, if they're needed.

-- 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 18.3, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Posted

I still need help.

I have downloaded sv_SE.dic, sv_SE.aff and hyph_sv.dic and saved them (with these file extensions) into the new sub-folder sv_SE.

They are stored as text documents ("raw format").

I have changed the "Additional dictionary folder" to point to this subfolder with the three files.

Restarting APub I would then expect the application to scan the added folder for dictionary data files and make the new language selectable for the document. But despite the additional dictionary no new language appears.

What am I doing wrong??

Posted
24 minutes ago, BertilT said:

I have changed the "Additional dictionary folder" to point to this subfolder with the three files

You don't want to do that. Put your folder into the folder that was shown in the Preferences originally.

-- 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 18.3, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Posted

401584666_2019-12-08(2).thumb.png.c1e21a32975d12aeadceac848bc24693.png

 

240413572_2019-12-08(3).thumb.png.204aec12bb7c1d52dd7169311be35ca7.png

I had tested that also without success, unfortunately.

I have tried again without succeeding.

Thus: Now the default "additional dictionary folder" is unchanged but it has a new sub-folder (sv_SE) containing the three downloaded files (See first screen shot). But still APub does not make a new language available for selection. The language drop down list is unchanged (Second screen shot above). I would have expected that APub would have scanned the additional dictionaries folder and found the sub folder sv_SE and from that concluded that the new language Swedish was available and would be selectable in the Language drop down menue.

 

Posted

Where are you trying to select the language? It will only be available in the Character studio panel and when editing a text style.

-- 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 18.3, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Posted

I thought it would be selectable in the drop down list for "Language" in the Edit preferences general panel. I thought that with the new directory I would "add a new language" to APub on par with the ten-ish languages already there.

I will have to ´navigate around to find the place that you point out. Not at all intuitive for me. Does it mean that I can't set the language at the document level but only at a paragraph level?

Posted

The setting in Preferences is for the User Interface, and includes only the languages that the application is translated into. 

But when you select a language there it becomes the default for documents, too.

You can set the default for the document by making sure you always assign paragraph styles to your text, and updating the Base style to specify the language you want. You can also Save your updated text style as a default for future documents.

-- 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 18.3, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Posted

Thanks!

I will have to try this out to understand the mechanisms and find the good methodology. I could never have figured this out on my own. Is this well described in the Help? Also, the FAQ documentation, where we started out, might deserve some more details to clarify. 

Perhaps I also have missed previous forum threads that might have explained this already?

I feel that the hyphenation functionality is an absolute must for any type setting of books etc., in particular where column width is relatively small. And the number of potential document languages is quite big -:)  I am surprised that this issue has not surfaced many, many times already.

Posted
3 minutes ago, BertilT said:

Perhaps I also have missed previous forum threads that might have explained this already?

It seems to me that part of your question is about installing additional dictionaries, and part is about how you specify spelling and hyphenation languages for text that you're entering.

That second part is probably described in the Help. The first part is described in the FAQ.

Complicating all of that is the different behavior when you're dealing with a language that is not one of the Affinity UI languages, as the UI language is automatically the default spelling and hyphenation language. That is not described, as far as I know.

-- 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 18.3, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Posted

You're right. But the parts are strongly connected. Installing without using doesn't much sense.

I was convinced that "Language" in the Preferences/General was related to the document, because most of the options there are related to documents.

There is also Preferences/User_Interface. Perhaps it would be more logical to have the Language choice there instead to make clear that it refers to the UI language. 

Never mind, once you understand you can adapt. 

Posted
4 hours ago, BertilT said:

There is also Preferences/User_Interface. Perhaps it would be more logical to have the Language choice there instead to make clear that it refers to the UI language.

Perhaps. But it's that way for all the Affinity applications, and always has been. Moving it would probably confuse users who've been using the program for awhile.

-- 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 18.3, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

  • 1 year later...
Posted

Thanks for sharing your experience and efforts.

After trying everything out following the exact procedure from above, I still cannot get the spelling dictionary and hyphenation to work in Affinity Publisher. The language I want to use is Danish.

Years back I upgraded to the at that time new Serif Page Plus X9 exactly because it introduced the option of using hunspell dictionaries. It was easy to install (see image below) and it worked flawlessly with regard to spelling and hyphenation.

Having then shifted to Affinity Publisher I am not able to install the hunspell dictionaries. It is necessary for me to be able to have spelling control and hyphenation in Danish in order to really use Affinity Publisher.

Any suggestions?

Kind regards,
Henrik

Guide for Serif Page Plus X9.jpg

Posted
36 minutes ago, HenrikZ said:

See image for the message I get when I try using spelling control

Henriks screenshot 12. januar 2021_21h52m02s_006_.jpg

Did you follow all the directions in the FAQ article?

 

-- 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 18.3, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Posted
2 hours ago, HenrikZ said:

Thanks for sharing your experience and efforts.

After trying everything out following the exact procedure from above, I still cannot get the spelling dictionary and hyphenation to work in Affinity Publisher. The language I want to use is Danish.

Years back I upgraded to the at that time new Serif Page Plus X9 exactly because it introduced the option of using hunspell dictionaries. It was easy to install (see image below) and it worked flawlessly with regard to spelling and hyphenation.

Having then shifted to Affinity Publisher I am not able to install the hunspell dictionaries. It is necessary for me to be able to have spelling control and hyphenation in Danish in order to really use Affinity Publisher.

Any suggestions?

Kind regards,
Henrik

 

Henrik, jeg har fået stavekontrollen til at virke på en anden pc, end den jeg sidder ved nu. Jeg kan lige dele med dig, hvad jeg gjorde, når jeg er ved den igen.

Jeg mener, jeg måtte improvisere lidt. Jeg kan ikke huske, om orddelingen virker også. Der er langt fra Publisher til PagePlus X9 endnu.

  • "The user interface is supposed to work for me - I am not supposed to work for the user interface."
  • Computer-, operating system- and software agnostic; I am a result oriented professional. Look for a fanboy somewhere else.
  • “When a wise man points at the moon the imbecile examines the finger.” ― Confucius
  • Not an Affinity user og forum user anymore. The software continued to disappoint and not deliver.
Posted
1 hour ago, HenrikZ said:

Thanks to Jowday. Would like to hear how you managed to do it!

This works for Danish spell check and hyphenation. Install these files (I must have downloaded from stavekontrold.dk?) in:

c:\Program Files\Affinity\Publisher\Resources\Dictionaries\da_DK\

da_DK.aff

da_DK.dic

hyph_da_DK.dic

Language seems to be a property of characters only - not also paragraph (hm):

image.png.bcd39eb380e1e316d57dcf5c772c5098.png

I see language as an option in several categories in the preferences. A tad confusing.

image.png.c4a3a37edbc9da5e16d97fa740f9139d.png

  • "The user interface is supposed to work for me - I am not supposed to work for the user interface."
  • Computer-, operating system- and software agnostic; I am a result oriented professional. Look for a fanboy somewhere else.
  • “When a wise man points at the moon the imbecile examines the finger.” ― Confucius
  • Not an Affinity user og forum user anymore. The software continued to disappoint and not deliver.
Posted

Thanks Jowday!

I learned from you that the folder and dictionaries here should not be placed here:C:\ProgramData\Affinity\Common\1.0\Dictionaries\da_DK, but rather here: C:\Program Files\Affinity\Publisher\Resources\Dictionaries\da_DK.

Now the dictionary and the hyphenation works perfectly in Publisher. So happy!!!
 
So what could be of interests to others is that the placement of the folder and file is not C:\ProgramData\Affinity\Common\1.0\Dictionaries\da_DK (as explained in the link above ([FAQ] How do I add additional Dictionaries to Affinity Publisher?) but rather C:\Program Files\Affinity\Publisher\Resources\Dictionaries\da_DK. I do not know why, perhaps you do, walt.farrell? Anyway, as this works for some of us, it... works for us.
 
I also installed it for Designer using C:\Program Files\Affinity\Designer\Resources\Dictionaries\da_DK. The dictionary works fine in Designer. For some reason, the hyphenation does not work, but that is not important for the way I use Designer (as long as it works within Publisher).
 
So nice! Thanks!
Henrik
Posted
13 minutes ago, Lagarto said:

I just picked Swedish, Danish and Norwegian spelling dictionaries from https://github.com/LibreOffice/dictionaries and they seem to work fine.

Note that in Windows versions there is a path setting in the Preferences > Tools tab for the additional dictionaries, which might need to match the location of the spelling dictionaries for non-UI languages, but it might be that installing the files also under C:\Program Files\Affinity\Publisher (and similarly for the other two apps) works, as well. I'd place them under the common folder, though, which I think is the default location:

svensk_dansk_02.jpg.04af2bce5c10fa7fb1e2b85259c67cd8.jpg

svensk_dansk_03.jpg.65f64b6d62c61cb96ffa85b42a2809dd.jpg

svensk_dansk_01.jpg.c742d4e1e5be0f5e210dbddd32ae2132.jpg

Note the spelling of the folder names: I am not sure if it is important to have matching spelling in actual spelling files and the folder name but I noticed that normally the folder names use underscore separating the sub languages, but the filename itself might use the dash as a separator. But when I tested this, it seemed that it does not matter whether the separator character is a a dash or an underscore. But it might be worth checking anyway if you cannot get spelling working.

Note that hyphenation is turned on from the Paragraph panel rather than the Character panel (use to define the spelling check and hyphenation language), and that to have red curly lines, you need to turn on Test > Spelling > Check Spelling While Typing, and additionally must not have Preview Mode turned on (as that would hide the red curly lines).

 

 

Thanks for your work and input, Lagarto. (Your post was posted as I was writing my reply to Jowday above).

Yes, the file placement seems to be different (in this case at least), that is in the folder C:\Program Files\... rather than C:\ProgramData\....

Thanks also for your other valuable input.
 
Henrik
Posted
5 minutes ago, Lagarto said:

You're welcome! Did you specify the "Program Files" location also in the Preferences as the path for additional dictionaries, or does it find this location automatically even without path definition?

Yes, I did specify myself the exact path.

Posted
6 minutes ago, Lagarto said:

Hyphenation works in Designer if you open there a Publisher document, or if you paste a text object from Publisher that has hyphenation turned on. But you cannot make hyphenation settings in Designer by itself.

Thanks for that info also!

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.