How to get Hyphenation working with LibreOffice?

Not quite sure how to get “Hyphen” working with “LibreOffice”

  fonts.fonts = [pkgs.google-fonts];
  environment.systemPackages = with pkgs; [
  #  vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
  #  wget

    # basic computer software
    libreoffice
    google-fonts
    hyphen
    hunspell
    hunspellDicts.en_US
    hunspellDicts.en-us
    hunspellDicts.en_US-large
    hunspellDicts.en-us-large
    
    hunspellDicts.en-gb-large
    hunspellDicts.en_GB-large
1 Like

I have the same issue. Libreoffice never complained about hyphenation until today.

I now also have

    libreoffice
    hyphen
    hunspell
    hunspellDicts.en_US

installed and libreoffice still complains. Previously, i didn’t have hyphen installed and libreoffice didn’t complain.

From the LibreOffice entry on ArchWiki, it seems like both the hyphen package and the hyphen-en language hyphen rule set have to be installed. Nixpkgs does not have the hyphen-en rule set packaged. While the way LibreOffice performs lookups for these rule sets is unclear, I’ll try to package them and see how it goes.