Jump to content

Recommended Posts

Recently I have moved on from PagePlus to Publisher and come across a serious problem which I did not have with PagePlus. When inserting a text (in Swedish) in a text frame, justifying a paragraph creates a number of rows where a single word is spread out with long distances between the letters. Please see the attachment. I suspect it has something to do with that Publisher does not recognise the Swedish language, because the automatic hyphening doesn't work either. There are several Swedish dictionaries available online, but there is nothing in the help file to explain how one can incorporate them. I would be most grateful for a work around. or else I may, regrettably, have to revert to PagePlus.

With many thanks in advance,

Örjan Widegren

10.03.2020_11.38.41_REC.png

Share this post


Link to post
Share on other sites

For how to add your own dictionaries to Publisher:

 


-- Walt

Windows 10 Home, version 1909 (183623.476),
   Desktop: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970
   Laptop:  8GB memory, Intel Core i7-3625QM @ 2.30GHz, Intel HD Graphics 4000 or NVIDIA GeForce GT 630M
Affinity Photo 1.8.3.641 and 1.8.4.650 Beta   / Affinity Designer 1.8.3.641 and 1.8.4.650 Beta  / Affinity Publisher 1.8.3.641 and 1.8.4.651 Beta.

Share this post


Link to post
Share on other sites

Thank you very much for taking the trouble to advice me. But when I have done exactly as is explained in the FAQ, neither spelling nor the hyphonisation work. In the text panel the Swedish language is recognised, but the spelling appears to be English (although I have changed it to Swedish) and the automatic hyphonisation soesn't work at all.  What do you think could be the problem?

Örjan

Share this post


Link to post
Share on other sites

I'm not sure what might be wrong, Örjan.

Can you upload a sample document that shows the problem, for us to look at?


-- Walt

Windows 10 Home, version 1909 (183623.476),
   Desktop: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970
   Laptop:  8GB memory, Intel Core i7-3625QM @ 2.30GHz, Intel HD Graphics 4000 or NVIDIA GeForce GT 630M
Affinity Photo 1.8.3.641 and 1.8.4.650 Beta   / Affinity Designer 1.8.3.641 and 1.8.4.650 Beta  / Affinity Publisher 1.8.3.641 and 1.8.4.651 Beta.

Share this post


Link to post
Share on other sites

Thank you for the question. I have now updated Publisher to the latest version and installed the Swedish spelling and hyphening dictionary. I have asticked automatic hyphening, but still the result is as attached. When ticking the spelling and suggest alternatives, virtually all the Swedish words are considered misspelled. Any ideas about how to resolve this issue are most welcome.

Örjan

 

Hyphoning problem.afpub

Share this post


Link to post
Share on other sites

Something must be wrong with your settings, because after having placed LibreOffice Swedish files under C:\ProgramData\Affinity\Common\1.0\Dictionaries\sv_SE, I get the following, which has only the proper nouns and misspellings like västeuropa (pro Västeuropa) and paralleler (pro paralleller) marked. (Btw. Affinity Publisher seems to mark words with punctuation characters like ' attached to them erroneously as misspelled -- even when using proper typographic quotation marks instead of straight ones. Note though that "profeter...Guds" is marked because three dots is used instead of a proper ellipses character.😞

swedish.jpg.a70c2744b491bae6372824a59d2365ce.jpg

 

Share this post


Link to post
Share on other sites

Thank you very much indeed. It seems obvious that the hyphening doesn't work in my installation of Publisher. But why? I have placed the language files in the same map as you showed, and the Swedish language is now recognized by Publisher according to what is shown in the Character panel (see attachment). I have indicated automatic hyphening (see attachment). The language files I have obtained from GitHub. Those I have also attached, in case it is something wrong with them. 

Thanking you very much in advance

Örjan Widegren

 

25.03.2020_09.57.55_REC.png

25.03.2020_09.56.15_REC.png

hyph_sv.dic sv_SE.aff sv_SE.dic

Share this post


Link to post
Share on other sites
1 hour ago, orjwid said:

It seems obvious that the hyphening doesn't work in my installation of Publisher. But why?

Does this mean that Swedish spelling is working properly now? And you're only having a problem with the hyphenation?


-- Walt

Windows 10 Home, version 1909 (183623.476),
   Desktop: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970
   Laptop:  8GB memory, Intel Core i7-3625QM @ 2.30GHz, Intel HD Graphics 4000 or NVIDIA GeForce GT 630M
Affinity Photo 1.8.3.641 and 1.8.4.650 Beta   / Affinity Designer 1.8.3.641 and 1.8.4.650 Beta  / Affinity Publisher 1.8.3.641 and 1.8.4.651 Beta.

Share this post


Link to post
Share on other sites
5 hours ago, orjwid said:

Thank you very much indeed. It seems obvious that the hyphening doesn't work in my installation of Publisher. But why?

This is strange because I just opened your publication after I had placed the LibreOffice files under C:\ProgramData\Affinity\Common\1.0\Dictionaries\sv_SE, like this:

swedish_spelling.jpg.c543faa2857d64a37fce219ab2fb4329.jpg

The document had all language and hyphenating settings correctly turned on. I wonder if this could be somehow a user privilege problem, e.g. antivirus application blocking the access to spelling dictionaries, etc. Please also check that you have the language directory pointing to C:\ProgramData\Affinity\Common\1.0\Dictionaries in the Edit > Preferences > Tools section, and that the dictionaries actually also reside under that folder (instead of e.g. C:\ProgramData\Affinity\Publisher\1.0\Dictionaries).

Share this post


Link to post
Share on other sites

Thank you Lagarto so much for taking the trouble to help me. As I am editing Bahá’í-Nytt,  the newsletter of a Faith community in Sweden, it really matters a lot for me to get this problem straight. It appears that there are some files that I don't have, especially description.xml and dictionairies-xcu. The files sv_FI.dic and sv_FI.aff are, I guess, specific for a Finnish dialect of Swedish, which is not important for me. If you still have those files at hand, I would be most grateful if you could send them to me: orjwid@zoho.com  I find GitHub somewhat challenging to deal with. 

As regards pointing to the language dictionary, it turns out that when in Preferences>Tools the language dictionary is pointed to C:\ProgramData\Affinity\Publisher\1.0\Dictionaries, Publisher recognizes the Swedish language on the Character panel (see attachment), but when it is pointed to  C:\ProgramData\Affinity\Publisher\1.0\Dictionaries\sv-SE, the language is listed as unknown  (sv-SE) and when I on the text panel klick check spelling, an error message appears, stating that there is an unknown language sv-SE for which no dictionary is installed. In either case neither spelling nor hyphening works.

Many thanks to Walt Farrell also. The spelling doesn't work at all, all the Swedish words are regarded as misspelled. ,

- Örjan

25.03.2020_20.27.45_REC.png

25.03.2020_20.36.14_REC.png

Share this post


Link to post
Share on other sites
28 minutes ago, orjwid said:

It appears that there are some files that I don't have, especially description.xml and dictionairies-xcu. The files sv_FI.dic and sv_FI.aff are, I guess, specific for a Finnish dialect of Swedish, which is not important for me.

These files are not important, you basically only need to have sv_SE.aff, sv_SE.dic and hyph_sv.dic under the sv_SE folder in the location specified in the Preferences > Tools section. I think this folder defaults to C:\ProgramData\Affinity\Common\1.0\Dictionaries but it might be possible to specify different folder, as well. But if you have multiple Affinity apps, it is probably better to use the Common path rather than app-specific path. Note though that you should specify here the parent directory for all languages and not the folder where the Swedish language files reside.

The folder name can probably be either sv_SE or sv-SE (that is with an underscore, or with a hyphen). The Affinity instructions use the hyphenated forrm but the LibreOffice package has underscores in folder names as well as in the file names, and when I copied directly the folder, I have the underscore version for the Swedish language and it works just well. I have the Finnish spelling checking under fi-FI (with a hyphen) and that works equally well so either form seems to be good.

Share this post


Link to post
Share on other sites
44 minutes ago, orjwid said:

As regards pointing to the language dictionary, it turns out that when in Preferences>Tools the language dictionary is pointed to C:\ProgramData\Affinity\Publisher\1.0\Dictionaries, Publisher recognizes the Swedish language on the Character panel (see attachment), but when it is pointed to  C:\ProgramData\Affinity\Publisher\1.0\Dictionaries\sv-SE, the language is listed as unknown  (sv-SE

That setting must point to the Dictionaries directory, not to a language directory.


-- Walt

Windows 10 Home, version 1909 (183623.476),
   Desktop: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970
   Laptop:  8GB memory, Intel Core i7-3625QM @ 2.30GHz, Intel HD Graphics 4000 or NVIDIA GeForce GT 630M
Affinity Photo 1.8.3.641 and 1.8.4.650 Beta   / Affinity Designer 1.8.3.641 and 1.8.4.650 Beta  / Affinity Publisher 1.8.3.641 and 1.8.4.651 Beta.

Share this post


Link to post
Share on other sites

Thank you so much for all valuable comments. However neither the spelling nor the hyphening still works. I have now reinstalled Publisher, but the spelling and hyphening still doesn't work. The Sedish language is recognized on the Character panel, both for spelling and hyphening. But when I klick on Check spelling only the first word is affected by red underlining. When I in a Swedish text ask for show spelling options the next word is affected but now options are stated. When klicking on next, the nest correctly spelled Swedish word is listed but no options, etc. When I klick on check spelling when typing, all the words on the page are underlined in red. Can this strange behaviour give a clue to what is wrong?

Thanking you in advance for your ideas.

Örjan

Share this post


Link to post
Share on other sites

Try placing the attached zip file under

C:\ProgramData\Affinity\Common\1.0\Dictionaries

and extract it there. You should get a folder named sv_SE created under this location and the Swedish spelling files placed in that folder.

Then make sure that you have under Edit > Preferences > Tools the following specified:

C:\ProgramData\Affinity\Common\1.0\Dictionaries

After that, you need to ensure that the language is set to Swedish in your text. Note that changing the language in the Paragraph style does not automatically change the language of existing text, so you should just select all your text by pressing Ctrl + A and then assign Swedish as the language in the Character panel (Language > Spelling).

After that, make sure that you have "Use auto-hyphenation" checked under the Paragraph panel.

Finally make sure that you have Text > Spelling > Check Spelling While Typing turned on. 

sv_SE.zip

Share this post


Link to post
Share on other sites

Dear Lagarto,

I thought I had Thanked your for this last help, because now the Swedish spelling and hyphening works flawlessly! It was really important for me to solve this problem, for a desktop publishing program that cannot handle one's language is not useful. I think Affinity should handle this language issue as a priority!

Örjan

Share this post


Link to post
Share on other sites
55 minutes ago, orjwid said:

I think Affinity should handle this language issue as a priority!

It seems that so far spelling support in the Affinity apps is limited to languages for which there is also UI support. I am not sure whether including Hunspell dictionaries, which themselves are open source, can be included freely (without some kind of license agreement) in an installation package if the app package itself is not open source, possibly not because I know other low-cost software where only limited number of languages is supported. E.g. in Xara Designer I need to "fool" the app and replace one of the supported languages (e.g. Hungarian) with a language which I really need (e.g Finnish or Swedish), by changing filenames. As for Affinity apps, any Hunspell language is included in the user interface as long as the correct files reside in the specified folder.

But you are right: a page layout app without support for hyphenation is more or less useless. On the other hand, I think there was no hyphenation support in InDesign for Finnish for years (at earliest in version 2.0, or maybe only with the first CS version), so we used German dictionaries which work pretty well with Finnish. In that respect I think we just need to be patient ;-) 

Share this post


Link to post
Share on other sites

Maybe some more unusual languages could not be included in the installation file, but wouldn't it be possible to have an option in the settings where you could install additional languages with one click?

Share this post


Link to post
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.


×
×
  • Create New...

Important Information

Please note the Annual Company Closure section in the Terms of Use. 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.