BertilT Posted December 8, 2019 Posted December 8, 2019 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? Quote
walt.farrell Posted December 8, 2019 Posted December 8, 2019 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. Quote -- 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
BertilT Posted December 8, 2019 Author Posted December 8, 2019 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?? Quote
walt.farrell Posted December 8, 2019 Posted December 8, 2019 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. Quote -- 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
BertilT Posted December 8, 2019 Author Posted December 8, 2019 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. . Quote
walt.farrell Posted December 8, 2019 Posted December 8, 2019 Where are you trying to select the language? It will only be available in the Character studio panel and when editing a text style. Quote -- 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
BertilT Posted December 8, 2019 Author Posted December 8, 2019 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? Quote
walt.farrell Posted December 8, 2019 Posted December 8, 2019 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. Quote -- 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
BertilT Posted December 8, 2019 Author Posted December 8, 2019 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. Quote
walt.farrell Posted December 8, 2019 Posted December 8, 2019 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. Quote -- 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
BertilT Posted December 8, 2019 Author Posted December 8, 2019 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. Fixx 1 Quote
walt.farrell Posted December 9, 2019 Posted December 9, 2019 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. Quote -- 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
HenrikZ Posted January 12, 2021 Posted January 12, 2021 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 Quote
HenrikZ Posted January 12, 2021 Posted January 12, 2021 See image for the message I get when I try using spelling control Quote
walt.farrell Posted January 12, 2021 Posted January 12, 2021 36 minutes ago, HenrikZ said: See image for the message I get when I try using spelling control Did you follow all the directions in the FAQ article? HenrikZ 1 Quote -- 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
Jowday Posted January 12, 2021 Posted January 12, 2021 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. HenrikZ 1 Quote "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.
HenrikZ Posted January 12, 2021 Posted January 12, 2021 Thanks to Jowday. WOuld like to hear how you managed to do it! Quote
Jowday Posted January 13, 2021 Posted January 13, 2021 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): I see language as an option in several categories in the preferences. A tad confusing. HenrikZ 1 Quote "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.
HenrikZ Posted January 13, 2021 Posted January 13, 2021 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 Jowday 1 Quote
HenrikZ Posted January 13, 2021 Posted January 13, 2021 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: 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 Quote
HenrikZ Posted January 13, 2021 Posted January 13, 2021 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. Quote
HenrikZ Posted January 13, 2021 Posted January 13, 2021 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! Quote
Recommended Posts
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.