Jump to content

Dictionaries support


Recommended Posts

  • Moderators

On Mac we use the operating system for spell checking, and you can add new languages using the Apple mechanism. On Windows we use Hunspell, and you can add your own dictionaries by putting them in the right place in the file system. (I don't recall where that is off-hand, sorry.)

We use Hunspell dictionaries for hyphenation on both platforms. On Mac the user-defined ones live below ~user~/Library/Spelling - each language gets its own folder with a name like en_UK.

Link to comment
Share on other sites

1 hour ago, Ormhaugen said:

In Win install them under ...C:\Program Files\Affinity\Publisher Public Beta\Resources\Dictionaries

Or install them in the directory listed in Preferences, Tools. By default that's C:\ProgramData\Affinity\Common\1.0\Dictionaries but it can be changed, as @TomGerritzen mentions. (Note: You cannot add an additional location, but you can change the default location for user-added dictionaries.)

-- Walt

   Desktop: new:  Windows 11 Home, version 21H2 (22000.613) 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090  (old: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970 )
   Laptop:  Windows 10 Home, version 21H2 (19044.1706) 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Affinity Photo 1.10.5 (.1342) and 1.10.5.1342 Beta   / Affinity Designer 1.10.5 (.1342) and 1.10.5.1342 Beta  / Affinity Publisher 1.10.5 (.1342) and 1.10.5.1282 Beta
 iPad Pro M1, 12.9", iPadOS 15.6.1, Apple Pencil 2, Magic Keyboard

  Affinity Photo 1.10.5 (.280) and 1.10.2 (.266) Beta / Affinity Designer 1.10.5 (.21) and 1.10.3 (.19) Beta 

Link to comment
Share on other sites

You have to be careful though where you get the dictionaries. Not all Hunspell language packs are created equal. Some work, some don't. The ones from LibreOffice didn't work for me, the ones that shipped as part of Adobe InDesign did. Kind of ironic. Maybe the folks from Serif can provide the proper downloads in the future.

Link to comment
Share on other sites

40 minutes ago, TomGerritzen said:

The ones from LibreOffice didn't work for me,

Interesting. Have you tried the ones from wooorm or from Thunderbird?

-- Walt

   Desktop: new:  Windows 11 Home, version 21H2 (22000.613) 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090  (old: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970 )
   Laptop:  Windows 10 Home, version 21H2 (19044.1706) 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Affinity Photo 1.10.5 (.1342) and 1.10.5.1342 Beta   / Affinity Designer 1.10.5 (.1342) and 1.10.5.1342 Beta  / Affinity Publisher 1.10.5 (.1342) and 1.10.5.1282 Beta
 iPad Pro M1, 12.9", iPadOS 15.6.1, Apple Pencil 2, Magic Keyboard

  Affinity Photo 1.10.5 (.280) and 1.10.2 (.266) Beta / Affinity Designer 1.10.5 (.21) and 1.10.3 (.19) Beta 

Link to comment
Share on other sites

I did the same exercise with a French dictionary from Github. Also problems.

Process:

- download dictionary from Github

- copy file into Affinity (as per previous mails)

- reboot

- Set Affinity without any form of spelling check

- Open Affinity. Load a file with a 100% correctly spelled text

- Affinity shows the text not underlined, as spelling check is off (this seems OK)

- apply spelling check

- no underline (everything seems OK, i.e. the French words are recognised as correct)

- change one word so that it is mispelled (this word only is now underlined, which is OK)

- if you spell correctly this word, all words are now shown as incorrect. The English spelling check seem to take-over the French one.

Installing a dictionnary file is not enough.

Note: In the Document Preferences Auto correct you can select a short list of languages, you can select French and save this option, but if you go back to this screen, it shows English again, regardless of your previous setup in French. This is may be the problem. All this despite the Additional dictionary folder of Tools still points to the French dictionary, ...

 

Link to comment
Share on other sites

I have no issues with the dictionary.

I've added a new folder in default location:
C:\Program Files\Affinity\Publisher Public Beta\Resources\Dictionaries\

For Polish I copied spelling dictionary from https://sjp.pl/slownik/ort/ (it includes 2 files: pl_PL.aff and pl_PL.dic)
Then I learned about LibreOffice github repository (https://github.com/LibreOffice/dictionaries/archive/master.zip), grabbed the hyphenation dictionary from it and added it to the same folder.

Both spelling and hyphenation are working as expected.

Link to comment
Share on other sites

  • 5 months later...

 

Geacht forum:

At first I had a problem with the Dutch SpellCheck and Hyphenation in Publisher Beta but solved it.

C:\ProgramData\Affinity\Common\1.0\Dictionaries\nl_NL with the three files nl_NL dic works well for Affinity Designer (no hyphenation) but not (yet?) for Publisher.

Spell Check (Dutch) did not work in Publisher; no Dutch language mentioned in the spell checker (it showed German; English UK and English US; Spanish Int.; French; Italian; Portuguese Braz.). Hyphenation: the same languages plus Latin (!) but no Dutch.

I found that pasting the map «nl-NL» with:
hyph_nl_NL.dic
nl_NL.aff
nl_NL.dic 
straight into «C:\Program Files\Affinity\Publisher Public Beta\Resources\Dictionaries» next to the languages above mentioned works very well; no problems with spell check and hyphenation any more.

Congratulations with a great program ! I worked in the late seventies with Quadritek and Compugraphic; switched to Windows: Aldus PageMaker, Adobe Pagemaker; Quark XPress; Indesign (CS2); Serif PagePlus up to X9 and I am now very happy with Affinity Publisher.

Affinity Publisher Public Beta 1.7.0.249
Windows 10 Home 1809 | 8 Gb RAM

Harja Blok 
Doesburg - The Netherlands

Link to comment
Share on other sites

On 3/2/2019 at 11:28 PM, Harja Blok said:

Affinity Publisher Public Beta 1.7.0.249
Windows 10 Home 1809 | 8 Gb RAM

Harja Blok 
Doesburg - The Netherlands

It is good to put this information into your profile. This will be available for each of your posts.

Affinity Store: Affinity Suite (ADe, APh, APu) 1.10.5.1342.
Windows 10 Pro, Version 21H1, Build 19043.1586.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080.
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200.

Link to comment
Share on other sites

  • 3 months later...
On 9/3/2018 at 7:29 PM, Ixolite said:

I have no issues with the dictionary.

I've added a new folder in default location:
C:\Program Files\Affinity\Publisher Public Beta\Resources\Dictionaries\

For Polish I copied spelling dictionary from https://sjp.pl/slownik/ort/ (it includes 2 files: pl_PL.aff and pl_PL.dic)
Then I learned about LibreOffice github repository (https://github.com/LibreOffice/dictionaries/archive/master.zip), grabbed the hyphenation dictionary from it and added it to the same folder.

Both spelling and hyphenation are working as expected.

Thanks for the (https://github.com/LibreOffice/dictionaries/archive/master.zip) link. It works!

Link to comment
Share on other sites

  • 1 year later...

I had the same question regarding norwegian, which comes in two flavours, nb and nn. What worked was the dictionary files from Thunderbird mentioned earlier in the thread. The xpi file can be renamed as zip, and then opens in any zip-opening program. The file structure and size was quite different from the ones in libre and apache office. The dic. file was about 15 times as big, so there seems to be significant differences. Anyhow, it worked flawlessly, installed in a folder Affinity\Publihser\Resources\Dictionaries\nb-NO

 

Hallstein

Edited by hallstein
Link to comment
Share on other sites

  • 2 months later...

I simply cannot get this to work on OSX 15 Big Sur. I have tried the following steps but continously get the error message:
Unsupported Languages: Document contains languages (en-DK) for which no dictionary is installed

  • Downloaded hunspell OXT da-DK from Github.
  • renamed to .zip, and unzipped the files.
  • copied da_DK.aff, da_DK.dic and hyph_da-DK to users/me/library/spelling/ restarted computer and Affinity Publisher - same error
  • changed underscores to scores in the filenames - restarted AFP same error
  • created a folder called da-DK in Spelling and copied the files to that - restarted AFP same error
  • changed scores back to underscores in filenames in the folder - restarted AFP same error

Does anybody have suggestions?

in hope
Morten

Link to comment
Share on other sites

1 hour ago, MBweb said:

I simply cannot get this to work on OSX 15 Big Sur. I have tried the following steps but continously get the error message:
Unsupported Languages: Document contains languages (en-DK) for which no dictionary is installed

  • Downloaded hunspell OXT da-DK from Github.
  • renamed to .zip, and unzipped the files.
  • copied da_DK.aff, da_DK.dic and hyph_da-DK to users/me/library/spelling/ restarted computer and Affinity Publisher - same error
  • changed underscores to scores in the filenames - restarted AFP same error
  • created a folder called da-DK in Spelling and copied the files to that - restarted AFP same error
  • changed scores back to underscores in filenames in the folder - restarted AFP same error

Does anybody have suggestions?

 

Your problem is that you have text "tagged" as being in "English as spoken in Denmark". That problem is not solved (usually) by installing a dictionary, but by changing the language tagging for that text.

You can change the language tag for text using either the Language settings in the Character panel or in the Text Style you have associated with the text. If you use the Character panel you need to make sure you have the text selected when you make the change.

(You probably could solve it by installing a dictionary, but you would need to install a copy of the English dictionary (with renamed files) into a directory named en-DK. Probably better to fix the text mislabeling :) )

-- Walt

   Desktop: new:  Windows 11 Home, version 21H2 (22000.613) 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090  (old: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970 )
   Laptop:  Windows 10 Home, version 21H2 (19044.1706) 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Affinity Photo 1.10.5 (.1342) and 1.10.5.1342 Beta   / Affinity Designer 1.10.5 (.1342) and 1.10.5.1342 Beta  / Affinity Publisher 1.10.5 (.1342) and 1.10.5.1282 Beta
 iPad Pro M1, 12.9", iPadOS 15.6.1, Apple Pencil 2, Magic Keyboard

  Affinity Photo 1.10.5 (.280) and 1.10.2 (.266) Beta / Affinity Designer 1.10.5 (.21) and 1.10.3 (.19) Beta 

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...
 Share

×
×
  • Create New...

Important Information

Please note there is currently a delay in replying to some post. See pinned thread in the Questions forum. These are the Terms of Use you will be asked to agree to if you join the forum. | 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.