Jump to content

Recommended Posts

Posted

I have found advice to install polish hyphenation from Libreoffice into Libraries/Spelling/pl_PL directory. I did it, but after checking auto hyphenate and selecting Polish as hyphenation dictionary nothing happens. Text hyphenates only when I insert discretionary hyphen.
On screenshot only hyphen is a manually inserted discretionary hyphen.
MacOS.

Zrzut ekranu 2021-09-15 o 21.24.01.png

Posted

Thanks for the screenshot, but I don't see the text cursor in the Text Frame. Can you click in the text to set the cursor in a word that you think should be hyphenated, and provide another screenshot like this one but with the text cursor visible? That way we can be sure what settings are being applied to the text in the frame.

Edit: Also, welcome to the Serif Affinity forums.

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

Posted (edited)

I was the WinSoft Adobe betatester. Polish hyphenation from Libre Office is not working on my system :-). It is selectable, but hyphenation happens only when default hyphenation algorithms selected (even latin). 
I am attaching also screenshot from my user/library/Spelling directory. I have put all files from Libre ofiice. Single hyph_pl_PL.dic was not working too.
I have done restarts, reboots, nothing changed. Started thinking about moving Spelling dir to common Library folder, but I think if it is detected, it should work with user too. 

Welcome too 🙂

 

Zrzut ekranu 2021-09-15 o 22.20.12.png

Zrzut ekranu 2021-09-15 o 22.27.04.png

Edited by Radioerewan
Cursor not visible.
Posted
On 9/15/2021 at 4:26 PM, Radioerewan said:

I have put all files from Libre ofiice. Single hyph_pl_PL.dic was not working too.

It is very easy to get HTML files instead of the required plain text files when downloading dictionaries from the LibreOffice GitHub site. Have you opened the hyph_pl_PL.dic file in a text editor to make sure it is in the proper format, and not HTML?

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

  • 1 year later...
Posted

Hi there. I did as the instruction said in Legacy Publisher and it worked just fine! Unfortunately I have a problem with applying it to v2. It simply doesn't seem to work when I do it as I did in the previous version. Can anyone help? It makes the program useless without it...

Posted
12 minutes ago, BartekP85 said:

Hi there. I did as the instruction said in Legacy Publisher and it worked just fine! Unfortunately I have a problem with applying it to v2. It simply doesn't seem to work when I do it as I did in the previous version. Can anyone help? It makes the program useless without it...

We'll need more (possibly much more) information.

Doesn't work could mean:

  1. Doesn't allow you to choose Polish as a hyphenation language.
  2. Allows you to choose it but doesn't actually hyphenate. (Several reasons for this.)

For #1, you probably don't have the hyphenation dictionary in the proper location. Or, if it won't allow you to choose Polish as a Spelling language either, perhaps the directory has the wrong name.

For #2, the most obvious possibilities I can think of are:

  1. You downloaded the file in the wrong format. If you downloaded directly from GitHub (as described in the first post of the FAQ) you can easily have gotten it as HTML rather than plain text. As suggested above please try looking at it with a text editor. Also, in that case, please try again downloadind directly from the links in the second post of the FAQ.
  2. You don't actually have Polish specified for the Hyphenation language. Try putting the cursor in the middle of a word and checking the Character panel.
  3. You don't have Publisher set up to perform automatic hyphenation. Try putting the cursor in the middle of a word and checking the Paragraph panel to see if automatic hyphenation is enabled.

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

Posted

Thanks so much for your reply, Walt!

I assumed it should work exactly the same way as it did with v.1. Should it??

Since Polish is not available by default in v.1 I had to go and download the whole package (hyph_pl_PL.dic, pl_PL.aff, pl_PL.dic) and then put it in the directory C:\ProgramData\Affinity\Common\1.0\Dictionaries in a folder named “pl_PL”  (as it was shown in the TOOLS section). It worked great with v.1.

Publisher was able to detect Polish language on the list (Aff_pub_language) and hyphenation worked fine.

Is there any other way I should be doing it in v.2?

Aff_pub_language.png

Aff_pub_tools.png

Dictionaries_Hunspell.png

pl_PL_folder.png

Posted
22 minutes ago, BartekP85 said:

I assumed it should work exactly the same way as it did with v.1. Should it??

If you use the same pl_PL directory, and put it into the proper location, yes. The location is different (not shared) between V1 and V2.

image.png.f5bf5809b3524101c8331b7712c8caa8.png

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

Posted

But you also changed the Preference. You didn't do that in V1, so why did you do it in V2?

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

Posted

You added /pl_PL to it. Compare your V1 and V2 screenshots of the Preferences dialog.

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

Posted

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

  • 7 months later...
Posted

Hi everyone!

Despite the topic being discussed quite thoroughly, I have to ask for help. I can't launch the dictionary and hyphenation in Polish. The issue concerns Affinity Publisher v.2. I have read everything below, followed all the steps from Affinity Help's "Managing hyphenation dictionaries," but with no result. In the Character panel > Language > Spelling, only the message Unknown (pl-PL) appears, even though the pl-PL folder doesn't exist - there's only pl_PL with the correct dictionary file taken from LibreOffice. There is a complete lack of the Polish language in the language selection list for word splitting. Attached are the screenshots. Please assist me in finding a solution.

01.jpg

02.jpg

  • 1 month later...
Posted
Quote

I have downloaded dictionaries from Libre Office. It works. Files attached, but i do not know when they were updated.

When you want to download from github, press right mouse click and then choose Save link as...

The problem does not seem to be with the dictionary files. They are correct, as is the localization. I replaced them with your set, but there was no change. Spelling: Unknown (pl-PL); Hyphenation language: no Polish language. There seems to be a serious obstacle in the version of Publisher 2. Serif has not yet responded.

Posted

Thank you Anto for attempting to help, but unfortunately, it still doesn't work: C:\ProgramData\Affinity\Common\2.0\Dictionaries\pl_PL with pl_PL.dic, pl_PL.aff, hyph_pl_PL.dic

I have both Photo and Designer version 1.10.6 installed alongside Designer v.2.2. I don't know if this could be the cause of the conflict. Previously, in the full version 1.10, the dictionaries worked flawlessly.

screen.jpg

Posted

@Tulimord Could you paste a Polish sentence in this thread and then paste it a second time with hyphens indicating where Publisher should hyphenate it? I have Polish text for testing but I have no understanding of Polish hyphenation which makes it hard to test.

Thank you

Posted

@MikeTO I have prepared in .png format a Polish text for you to test. To increase the number of words that are hyphenated, I chose the A5 format and two columns with Times New Roman Regular, 13/15. The hyphenation is correct, and the editing was done in InDesign. Below is the raw text - the first paragraphs of the novel "Quo Vadis" by Henryk Sienkiewicz :) I appreciate your help in advance.

Petroniusz obudził się zaledwie koło południa i, jak zwykle, zmęczony bardzo. Poprzedniego dnia był na uczcie u Nerona, która przeciągnęła się do późna w noc. Od pewnego czasu zdrowie jego zaczęło się psuć. Sam mówił, że rankami budzi się jakby zdrętwiały i bez możności zebrania myśli. Ale poranna kąpiel i staranne wygniatanie ciała przez wprawionych do tego niewolników, przyśpieszało stopniowo obieg jego leniwej krwi, rozbudzało go, cuciło, wracało mu siły, tak że z oleotekium, to jest z ostatniego kąpielowego przedziału, wychodził jeszcze jakby wskrzeszony, z oczyma błyszczącemi dowcipem i wesołością, odmłodzon, pełen życia, wykwintny, tak niedościgniony, że sam Otho nie mógł się z nim porównać — i prawdziwy, jak go nazywano: „arbiter elegantiarum“. 

W łaźniach publicznych bywał rzadko: chyba że zdarzył się jakiś budzący podziw retor, o którym mówiono w mieście, lub gdy w ephebiach odbywały się wyjątkowo zajmujące zapasy. Zresztą miał w swej „insuli“ własne kąpiele, które słynny wspólnik Severusa, Celler, rozszerzył mu, przebudował i urządził z tak nadzwyczajnym smakiem, iż sam Nero przyznawał im wyższość nad cezaryańskiemi, chociaż cezaryańskie były obszerniejsze i urządzone z nierównie większym przepychem.

Po owej więc uczcie, na której znudziwszy się błaznowaniem Vatiniusa brał wraz z Neronem, Lukanem, i Seneciem udział w diatrybie, czy kobieta ma duszę — wstawszy późno, zażywał, jak zwykle, kąpieli. Dwaj ogromni balneatorzy złożyli go właśnie na cyprysowej „mensie“ pokrytej śnieżnym egipskim byssem — i dłońmi maczanemi w wonnej oliwie poczęli nacierać jego kształtne ciało — on zaś z zamkniętemi oczyma czekał aż ciepło laconicum i ciepło ich rąk przejdzie w niego i usunie zeń znużenie. 

Lecz po pewnym czasie przemówił — i, otworzywszy oczy, jął rozpytywać o pogodę, a następnie o gemmy, które jubiler Idomen obiecał mu przysłać na dzień dzisiejszy do obejrzenia... Pokazało się, że pogoda jest piękna, połączona z lekkim powiewem od gór Albańskich, i że gemmy nie przyszły. Petronius znów przymknął oczy i wydał rozkaz, by przeniesiono go do tepidarium, gdy wtem, z poza kotary, wychylił się „nomenclator“, oznajmiając, że młody Marcus Viniciusz, przybyły świeżo z Azyi Mniejszej, przyszedł go odwiedzić.

PolishTxtScreen.png

Posted

@Tulimord There won't be a conflict between v1 and v2.

Anto and Walt can describe the steps for Windows much better than I can since I'm a Mac user but it looks like you've installed the files in the correct location: C:\ProgramData\Affinity\Common\2.0\Dictionaries\pl_PL\

Did you select Paragraph > Hyphenation > Use auto-hyphenation? Did you select Character > Language > Polski? (It might be named Polish on Windows, I'm unsure about that.) Character > Language > Hyphenation should be set to Auto but if you check it to see if there's a Polski/Polish item listed - if there's not then Publisher didn't load the dictionary correctly.

Good luck.

Posted

@MikeTO Paragraph > Hyphenation > Use auto-hyphenation was/is selected.  Character > Language > Polski - the problem is that Polish is not listed as a language option. The only option available is "Unknown (pl-PL)". The "Hyphenation > Use auto-hyphenation" setting is selected, but it has no effect. 

Posted

Mit den Dateien und Anleitung auf der untenstehenden Seite funktioniert die polnische Rechtschreibung

With the files and instructions on the page below the Polish spelling works

 

Alternativ kannst du die Wörterbücher bei OpenOffice herunterladen.
https://extensions.openoffice.org/en/project/polish-dictionary-pack

Die Dateiendung .oxt änderst du in .zip und entpackst die Datei.
Das Verzeichnis pl_PL kannst du nun in
C:\ProgramData\Affinity\Common\2.0\Dictionaries\ kopieren.

Der Publisher muss anschliessend neu gestartet werden.

Alternatively, you can download the dictionaries from OpenOffice.
https://extensions.openoffice.org/en/project/polish-dictionary-pack

Change the file extension .oxt to .zip and unzip the file.
You can copy the directory pl_PL to C:\ProgramData\Affinity\Common\2.0\Dictionaries\.

The Publisher must be restarted afterwards.

 

 

Gruss

 

Andreas

Posted

OK, I found the bug and solved the problem that I created myself! :) The solution is simple and lies in plain sight, just above my first desperate post. I was simply not paying attention. The benefit of my thread is that this bug, in addition to being silly, is also persistent, as evidenced by the reported problems of other Publisher users. So perhaps this whole episode will be useful for solidifying this knowledge.

In short, the bug is that the path given in Edit>Settings>Tools>Additional dictionary folder was C:\ProgramData\Affinity\Common\2.0\Dictionaries\pl_PL, but it should be C:\ProgramData\Affinity\Common\2.0\Dictionaries. That's it. Do not include the language folder name at the end of the path!

I thank everyone for their positive reaction and willingness to help. Regards

Read Walt with attention! Don't be like Tulimord :) 

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.