Jump to content
Tommi Gustafsson

How to install Finnish language support for Affinity Publisher?

Recommended Posts

Hi!

I bought Affinity Publisher to replace Microsoft Publisher. But how can I install the Finnish language support?

When creating large publications in Finnish, the language support is quite crucial for a publication software. Microsoft Publisher has good Finnish language support, but how about Affinity Publisher?

I found some information about installing an Open Office hyphenation language pack. But as far as I can see, there is no open office hyphenation dictionary for Finnish.

Best regards,
Tommi

Share this post


Link to post
Share on other sites

@Tommi Gustafsson

Welcome to the Serif Affinity forums :)

there is an answer here for method, and the Finnish files are as you say hard to come by.

 

You could use the suggestion here (from a few years ago) that says these files worked for them. However take care as from that linked thread above Affinity can currently crash if the installed files are not compatible.


Patrick Connor
Serif (Europe) Ltd.

Latest releases on each platform 

Share this post


Link to post
Share on other sites
3 minutes ago, Patrick Connor said:

You could use the suggestion here (from a few years ago) that says these files worked for them. However take care as from that linked thread above Affinity can currently crash if the installed files are not compatible.

I've read elsewhere that Voikko (which they ended up using) is a completely different spellchecker from Hunspell and its dictionaries are not compatible.


-- Walt

Windows 10 Home, version 1903 (18362.239), 16GB memory, Intel Core i7-6700K @ 4.00Gz, GeForce GTX 970
Affinity Photo 1.7.2.471 and 1.7.2.464 Beta   / Affinity Designer 1.7.2.471 and 1.7.2.4464 Beta  / Affinity Publisher 1.7.2.471 and 1.7.2.458 Beta

Share this post


Link to post
Share on other sites
25 minutes ago, Patrick Connor said:

Thanks Walt, back to square one. Sorry @Tommi Gustafsson

Not quite square one. From the Serif forums I found this one:

 

The included file needs a couple of changes, they said. I'm looking at that now.L

Good news: Here is a Finnish Hunspell dictionary (including hyphenation):

fi_FI.zip

(This is slightly modified from the version in the post I referenced. I removed the word CHARSET as he said was necessary. Spellchecking still did not work. I then reencoded everything as UTF-8, which still did not work.)

Though Publisher accepts it, and it doesn't crash spell-checking, it doesn't seem to work as all my sample Finnish text gets red underlines. Perhaps that other user could help, as they seem to have it working.

 

 


-- Walt

Windows 10 Home, version 1903 (18362.239), 16GB memory, Intel Core i7-6700K @ 4.00Gz, GeForce GTX 970
Affinity Photo 1.7.2.471 and 1.7.2.464 Beta   / Affinity Designer 1.7.2.471 and 1.7.2.4464 Beta  / Affinity Publisher 1.7.2.471 and 1.7.2.458 Beta

Share this post


Link to post
Share on other sites

And, in regards to Hunspell not working for Finnish: Other discussions in the Hunspell forums indicate that it can work, and the issues that the Voikko team describes are merely deficiencies in the coding of the Hunspell Finnish dictionary.

I'm not sure who to believe.


-- Walt

Windows 10 Home, version 1903 (18362.239), 16GB memory, Intel Core i7-6700K @ 4.00Gz, GeForce GTX 970
Affinity Photo 1.7.2.471 and 1.7.2.464 Beta   / Affinity Designer 1.7.2.471 and 1.7.2.4464 Beta  / Affinity Publisher 1.7.2.471 and 1.7.2.458 Beta

Share this post


Link to post
Share on other sites
19 minutes ago, walt.farrell said:

Though Publisher accepts it, and it doesn't crash spell-checking, it doesn't seem to work as all my sample Finnish text gets red underlines. Perhaps that other user could help, as they seem to have it working.

Yes. I get the same experience with these files. Finnish text gets red lines.

Share this post


Link to post
Share on other sites

 

8 minutes ago, Patrick Connor said:

Great are your files the same as in Walt's attachments? Where did you source them and are they legally sharable?

Same that Walt's attachments:  fi_FI.aff, fi_FI.dic, hyph_fi_FI.dic. I remember that I have to delete something text one of these files before it works.

Share this post


Link to post
Share on other sites

I had Finnish hyphenation working at the Publisher beta stage, but then I placed these files within Publisher app package. Now I placed these to /Users/Fixx/Library/Dictionaries/fi_FI (is this correct place?).

Spellchecker works, hyphenation does not. And hyphenation is more important of these two.Spelling has the right language "Suomi" but hyphenation list has it not. 

It is vital to get hyphenation working. Using english hyphenation does not hyphenate enough, while it is mostly correct it leaves a lot white spots to text columns...

About Voikko: Voikko is the current premiere spelling checker for Finnish language. It is not Apple produce but created by finnish volunteers (mostly). It handles Finnish morphology better than Hunspell. Hunspell works though well enough for hyphenation, mostly.

hyph-fi.png

Share this post


Link to post
Share on other sites

Hi,

So there are some differences between how you install hunspell dictionaries for Mac/Windows, since we use the Mac spelling dictionaries (which support adding custom hunspell dictionaries).

 

On Mac:

Spelling dictionaries may already be available but not active. Check by navigating to:

System Preferences >  Keyboard > Text > Spelling > at the bottom of the drop list "Set up…”. Then check the required language if available. If it is checking it and restarting Publisher will suffice.

If the required language is not available, standard Hunspell dictionaries can be installed for the system spelling to use. These consist of two files, one names xx_XX.dic and one named xx_XX.aff. Copy the .dic and.aff files to the ~/Library/Spelling folder.

Having done this the language should become available to be selected in System Preferences >  Keyboard > Text > Spelling as above. Once checked here they will become available in Publisher.

Any changes to dictionaries require an App restart.

On Mac Hyphenation dictionaries can be installed in a similar way but the must be installed in a subfolder. Navigate to ~/Library/Spelling/as above and make a subfolder with a name in the format xx-XX (substituting xx-XX for the locale id). The dictionary comes as a single file with a name in the format hyph_xx_XX.dic. This file should be copied to the subfolder.

 

On Windows:

Edit > Preferences > Tools will show where additional dictionaries are installed, and change be changed/opened. Similar to the above if you create a locale folder xx-XX and paste the aff/dic files for spelling and hyphenation in here the app should pick them up.

 

Regarding the Finnish dictionaries above. I've got the app to pick these up for both Mac and Windows (although my Mac already had a Finnish dictionary). I can see spelling seems to be underlining Finnish words using the dictionary and am looking into this (I'm not a hunspell expert at all and the structure of the dictionary differs from what I'm used to)


Serif Europe Ltd. - www.serif.com

Share this post


Link to post
Share on other sites

Hey, that helped. Finnish hyphenation works now. (Finnish spelling stopped working but that does not matter,.)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×