https://bugs.documentfoundation.org/show_bug.cgi?id=155839

Tex2002ans <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Tex2002ans+LibreOffice@gmai
                   |                            |l.com

--- Comment #14 from Tex2002ans <[email protected]> ---
(In reply to Eyal Rozenberg from comment #0)
> Now, it's doubly a bug, because no hyphenation patterns are even _offered_
> for Hebrew, so LO is just leading the user on a wild goose chase for now.

Hmmm...

Does the Hebrew language even hyphenate when words break across lines?

Or is it like Japanese/Chinese, where hyphenation doesn't even make sense at
all:

- https://bugs.documentfoundation.org/show_bug.cgi?id=143422

(In that case, the infobar was disabled for "ja" + "zh-CN".)

(In reply to Eyal Rozenberg from comment #0)
> It's a link to a TDF Wiki page - a wiki page for _all_ language at once,
> and with a large number of links, some in a table, some not in a table;
> plus a humongous navigation bar on top of the page.

Was it this page?

- https://wiki.documentfoundation.org/Language/Support

Sounds like that page could use an overhaul for readability.

Perhaps splitting into multiple, dedicated sections instead.

1. Spellchecking
2. Grammarchecking
- Most can be offloaded to LanguageTool's site.
- The few languages with other tools (like French+Grammalecte) can be listed on
their own.
3. Hyphenation
- Hyphenation.org is the ultimate source.
4. UI
- Perhaps this can just be offloaded/pointed to Weblate.
5. Thesaurus
6. (The rest of the table's leftover columns in simple "Y/N/?" form.)

The "Hyphenation" section can then:

- Explain basic instructions for fixing "missing hyphenation info" on
Windows/Linux/Mac.

Similar to what I explain when "red squigglies" stop working for people...
because they forgot to install Spellchecking Dictionaries:

-
https://www.reddit.com/r/libreoffice/comments/15qt8rk/how_to_install_dutch_dictionary/jw6a5ht/
-
https://www.reddit.com/r/libreoffice/comments/11h5kqr/why_is_spellcheck_not_working_in_libreoffice/jati80q/
-
https://www.reddit.com/r/libreoffice/comments/udu7sm/contortions_for_spelling_in_office_libre/i6l2pay/

It's pretty much the same exact instructions.

(On Linux, it's a "hyphen-xx" package. In Windows, it's an extra checkbox
during install.)

> but something triggered a yellow notification bar when I opened
> a document (He+En+Fa content); and the bar said that Hyphenation
> patters for HE-IL were missing.

Like Mike Kaganski said, an information bar might pop up that says:

> Missing hyphenation info. Please install hyphenation package for locale 
> "en-US".
   - (Where "en-US" = the code for your specific language.)

This is triggered when you have BOTH:

1. Hyphenation Dictionaries NOT INSTALLED for that language.

2. A Format/Style in your document which has:

- Automatic "Hyphenation" enabled.

You can see this in:

- Format > Paragraph
- "Text Flow" tab.

or:

- Style > Edit Style (Alt+P)
- "Text Flow" tab.

Under Hyphenation, you'll see a checkbox for:

- Automatically

- - -

For every language... just like you install different:

- UI Languages
- Spellchecking Dictionaries
   - (To get red squigglies.)

there are also:

- Hyphenation Dictionaries

And if you haven't installed them (or they don't exist), then there's not much
LO can do besides inform with the bar!

And like Mike Kaganski said, each OS would require slightly different
instructions/packages.

This is where the Wiki page could be a good guide!

- - -

(In reply to Mike Kaganski from comment #8)
> (2) I generally dislike, that the only thing in *UI* points to the
> *extensions* site ( https://extensions.libreoffice.org/dictionaries/ ),
> where there are lots of *unmaintained* third-party extensions, while for
> *most* cases, the distribution itself contains a (not installed) package for
> the needed language, and it should be the first thing to suggest.

Yes, full agree.

Almost always, it's because someone forgot to:

- Install the package (Linux)
- Check an optional box during install (Windows / Mac[?])

I would personally rank them like this:

1. LO Wiki
- This can point you to:
--- Windows-/Linux-/Mac-specific instructions
--- Distro-specific packages
- + more resources.
--- Like where to grab the proper .tex file + LO folder.
--- + explain Manual Install.
2. Hyphenation.org
- Which is the ultimate Hyphenation Dictionary resource.
- These are where all the latest patterns for each language are.
3. LO Extensions site
- (Some of these can be linked in the Wiki, but I wouldn't go promoting them
directly.)
- Like Mike said, many of these are old/unmaintained.
- Better bet would be to:
--- Install the packages from distro or install latest LO.
--- Grab latest Hyphenation Dictionaries directly from Hyphenation.org.

(In reply to Heiko Tietze from comment #12)
> > (3) Dictionaries do not necessarily include hyphenation data...
> That's indeed unfortunate but I see no way around. Currently we just add the
> wiki step in between the procedure.

Heh, luckily Hyphenation Dictionaries barely ever get touched. So they move
MUCH slower than the other files.

New languages occasionally do get added though.

Like in 2021, Czech (cs) hyphenation was created. See:

- TUG 2021: "Czechoslovak Hyphenation Patterns, Word Lists, and Workflow" by
Ondřej & Petr Sojka
- https://www.youtube.com/watch?v=kU8-EnMmJ10

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to