Dan C Posted August 3, 2023 Share Posted August 3, 2023 Affinity V2 uses the Hunspell Engine for spell checking and it also allows for additional Hunspell dictionaries to be added. You can download additional dictionaries from LibreOffice's GitHub page here but you can find direct links in the last post here. Once you've downloaded the correct file(s), you can use them in Affinity V2 by following the below instructions: Please note: There are some differences between how you install Hunspell dictionaries for macOS/Windows, since we use the default spelling dictionaries available within macOS but it's also possible to add custom Hunspell dictionaries too. macOS macOS includes spelling dictionaries for many languages and hyphenation dictionaries for a few languages, which will already be available in Affinity V2. To view the available spelling dictionaries, open the Character Studio within the Affinity V2 app, then expand the Language section and click the Spelling dropdown menu. To view the list of hyphenation dictionaries, click the Hyphenation dropdown menu below Spelling in the Character Studio. If the spelling or hyphenation language you require is not available in macOS and therefore not already listed here, you can install standard Hunspell dictionaries to use within Affinity V2. To install a spelling dictionary, copy the required xx_XX.dic and xx_XX.aff files within Finder to:~/Library/Spelling/ To install a hyphenation dictionary, create a new subfolder in ~/Library/Spelling/ Name this subfolder using the format of xx_XX (replacing xx_XX with the language's locale id, for example fr_FR for French) and then copy the hyph_xx_XX.dic file into this folder. If the spelling dictionary for the language you are adding a hyphenation dictionary for is already available in macOS, please do not also manually install the spelling dictionary, you should only need to manually add the hyphenation subfolder and file. Please note: Any changes to dictionaries require that you restart Affinity V2 for these to be detected/updated. Windows Affinity V2 on Windows includes spelling & hyphenation dictionaries for some languages by default, though typically this is less than is available on mac, due to the use of macOS provided dictionaries, which aren't provided by Windows in the same manner. To view the available spelling dictionaries, open the Character Studio within the Affinity V2 app, then expand the Language section and click the Spelling dropdown menu. To view the list of hyphenation dictionaries, click the Hyphenation dropdown menu below Spelling in the Character Studio. If the spelling or hyphenation language you require is not provided with Affinity V2 on Windows and therefore not already listed here, you can install standard Hunspell dictionaries to use within Affinity V2. You can add additional dictionaries and hyphenation dictionaries by going to Edit > Settings > Tools. The default Additional dictionary folder used by the app is C:\ProgramData\Affinity\Common\2.0\Dictionaries but you can change this location by clicking Browse... It is not necessary to change this default folder location within the Affinity V2 app, but if you do, please make sure that you specify a folder here that holds all subfolders for each locale and not one specific locale folder as this will not work! To copy any downloaded dictionaries and hyphenation dictionaries to the Additional dictionary folder click Open... but before copying your files to this folder you will need to create a subfolder with its name in the format of xx_XX ( substituting xx_XX for the locale id ). Once you’ve done this you can copy your xx_XX.dic, xx_XX.aff and hyph_xx_XX.dic files to the subfolder. Now restart Affinity V2 for the dictionaries to appear within the app. _______________________________________ For example, with the default folder used under Settings > Tools, you should see this folder path within the Affinity V2 app and not a specific locale folder: C:\ProgramData\Affinity\Common\2.0\Dictionaries You should then have created a folder within the 'Dictionaries' folder in File Explorer, using the locale ID - for example with English Canadian: C:\ProgramData\Affinity\Common\2.0\Dictionaries\en_CA Within this folder should be the relevant .dic, .aff & hyph.dic files, downloaded from the post below. This should appear as follows Please note: Any changes to dictionaries require that you restart AffinityV2 for these to be detected/updated. thebodzio, MikeTO and Nova-Odos 2 1 Link to comment Share on other sites More sharing options...
Dan C Posted October 17, 2023 Author Share Posted October 17, 2023 Known Issues - French (Canadian), French (Belgium), French (Luxembourg) & French (Swiss) When importing text from external apps, such as Word or LibreOffice, that use these languages, Affinity will show a warning for a missing dictionary. From our research, individual Spelling/Hyphenation dictionaries do not exist online for these languages, so instead it appears as though these third party apps will simply use a French (French) dictionary in order to provide Spelling/Hyphenation support, assumedly through the use of symlinks. As the Affinity apps don't currently support symlinks for dictionaries, we instead recommend manually installing the French dictionaries from the above provided links, but changing the Language code of the downloaded files and folders as required. For example, if you see a warning regarding a missing fr_CA (French (Canadian)) dictionary when importing text, please download the above fr.aff, fr.dic & hyph_fr.dic files. Once downloaded, rename these files to fr_CA.aff, fr_CA.dic & hyph_fr_CA.dic respectively and then add them to the required location/language folder on your OS, using the above instructions. These steps are also true for the other languages listed above, substituting the language code (fr_CA, fr_BE, fr_LU or fr_CH) as required. Once you have installed the French dictionary files using these language codes, you should find the relevant Spelling/Hyphenation options can now be selected in Affinity and the missing dictionary warning is no longer shown. German (Swiss), German (Austrian) & Belorussian When downloading dictionaries for the above languages, some of these files have filenames which require amending. For German (Swiss) and German (Austrian), the files are suffixed with '_frami'. For Belarussian, the files are suffixed with '_official'. Before installing the dictionaries for these languages, we recommend deleting these suffixes and not including them within the language code for any folders created. For example: German Swiss files are named 'de_CH_frami'. After downloading, rename the file(s) to 'de_CH' and create the folder using this code. Belarussian files are named 'be_official'. After downloading, rename the file(s) to 'be' and create the folder using this code. eartner and MikeTO 2 Link to comment Share on other sites More sharing options...
Dan C Posted October 17, 2023 Author Share Posted October 17, 2023 Please find below direct links to the Hunspell dictionaries. To download a file, right click the link and select Save Link As... (In Safari, select Download Linked File As... but do not select Download Linked File or .txt will be appended to the filename.) af_ZA af_ZA.aff af_ZA.dic hyph_af_ZA.dic an_ES an_ES.aff an_ES.dic ar ar.aff ar.dic be_BY be-official.aff be-official.dic hyph_be_BY.dic bg_BG bg_BG.aff bg_BG.dic hyph_bg_BG.dic bn_BD bn_BD.aff bn_BD.dic bo bo.aff bo.dic br_FR br_FR.aff br_FR.dic bs_BA bs_BA.aff bs_BA.dic ca ca-valencia.aff ca-valencia.dic ca.aff ca.dic hyph_ca.dic cs_CZ cs_CZ.aff cs_CZ.dic hyph_cs_CZ.dic da_DK da_DK.aff da_DK.dic hyph_da_DK.dic de de_AT_frami.aff de_AT_frami.dic hyph_de_AT.dic de_CH_frami.aff de_CH_frami.dic hyph_de_CH.dic de_DE_frami.aff de_DE_frami.dic hyph_de_DE.dic el_GR el_GR.aff el_GR.dic hyph_el_GR.dic en en_AU.aff en_AU.dic en_CA.aff en_CA.dic en_GB.aff en_GB.dic hyph_en_GB.dic en_US.aff en_US.dic hyph_en_US.dic en_ZA.aff en_ZA.dic eo eo.aff eo.dic hyph_eo.dic es es_AR.aff es_AR.dic es_BO.aff es_BO.dic es_CL.aff es_CL.dic es_CO.aff es_CO.dic es_CR.aff es_CR.dic es_CU.aff es_CU.dic es_DO.aff es_DO.dic es_EC.aff es_EC.dic es_ES.aff es_ES.dic hyph_es.dic es_GQ.aff es_GQ.dic es_GT.aff es_GT.dic es_HN.aff es_HN.dic es_MX.aff es_MX.dic es_NI.aff es_NI.dic es_PA.aff es_PA.dic es_PE.aff es_PE.dic es_PH.aff es_PH.dic es_PR.aff es_PR.dic es_PY.aff es_PY.dic es_SV.aff es_SV.dic es_US.aff es_US.dic es_UY.aff es_UY.dic es_VE.aff es_VE.dic et_EE et_EE.aff et_EE.dic hyph_et_EE.dic fr_FR fr.aff fr.dic hyph_fr.dic gd_GB gd_GB.aff gd_GB.dic gl gl_ES.aff gl_ES.dic hyph_gl.dic gu_IN gu_IN.aff gu_IN.dic gug gug.aff gug.dic he_IL he_IL.aff he_IL.dic hi_IN hi_IN.aff hi_IN.dic hr_HR hr_HR.aff hr_HR.dic hyph_hr_HR.dic hu_HU hu_HU.aff hu_HU.dic hyph_hu_HU.dic id id_ID.aff id_ID.dic hyph_id_ID.dic is is.aff is.dic hyph_is.dic it_IT it_IT.aff it_IT.dic hyph_it_IT.dic kmr_Latn kmr_Latn.aff kmr_Latn.dic ko_KR ko_KR.aff ko_KR.dic lo_LA lo_LA.aff lo_LA.dic lt_LT lt.aff lt.dic hyph_lt.dic lv_LV lv_LV.aff lv_LV.dic hyph_lv_LV.dic mn_MN mn_MN.aff mn_MN.dic hyph_mn_MN.dic ne_NP ne_NP.aff ne_NP.dic nl_NL nl_NL.aff nl_NL.dic hyph_nl_NL.dic no nn_NO.aff nn_NO.dic hyph_nn_NO.dic nb_NO.aff nb_NO.dic hyph_nb_NO.dic oc_FR oc_FR.aff oc_FR.dic pl_PL pl_PL.aff pl_PL.dic hyph_pl_PL.dic pt_BR pt_BR.aff pt_BR.dic hyph_pt_BR.dic pt_PT pt_PT.aff pt_PT.dic hyph_pt_PT.dic ro ro_RO.aff ro_RO.dic hyph_ro_RO.dic ru_RU ru_RU.aff ru_RU.dic hyph_ru_RU.dic si_LK si_LK.aff si_LK.dic sk_SK sk_SK.aff sk_SK.dic hyph_sk_SK.dic sl_SL sl_SI.aff sl_SI.dic hyph_sl_SI.dic sq_AL sq_AL.aff sq_AL.dic hyph_sq_AL.dic sr sr-Latn.aff sr-Latn.dic hyph_sr-Latn.dic sr.aff sr.dic hyph_sr.dic sv_FI sv_FI.aff sv_FI.dic hyph_sv.dic sv_SE sv_SE.aff sv_SE.dic hyph_sv.dic sw_TZ sw_TZ.aff sw_TZ.dic te_IN te_IN.aff te_IN.dic hyph_te_IN.dic th_TH th_TH.aff th_TH.dic tr_TR tr_TR.aff tr_TR.dic uk_UA uk_UA.aff uk_UA.dic hyph_uk_UA.dic zu_ZA hyph_zu_ZA.dic eartner and Nova-Odos 2 Link to comment Share on other sites More sharing options...
Staff DWright Posted April 19 Staff Share Posted April 19 MacOS Sonoma 14.4.1 Change to the Learnt Dictionary location In the recent MacOS 14.4.1 update Apple have changed the location of where the learned words in the Affinity apps are stored, the learned word are now written to a file that corresponds to your Mac default language for example for UK English the file is called en_GB and this can be found in the location ~/Library/Group Containers/group.com.apple.AppleSpell/Library/Spelling/ Link to comment Share on other sites More sharing options...
Recommended Posts