groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] improve internationalization at startup


From: G. Branden Robinson
Subject: Re: [PATCH] improve internationalization at startup
Date: Thu, 14 Jan 2021 17:19:20 +1100
User-agent: NeoMutt/20180716

At 2021-01-13T02:43:46-0600, Dave Kemper wrote:
> On 1/4/21, G. Branden Robinson <g.branden.robinson@gmail.com> wrote:
> > For one thing, it annoys me that the hyphenation language code for
> > English is wrong.
> 
> I have no objection to changing this.  But I observe that the file we
> call(ed) tmac/hyphenex.us comes from TeX
> (http://ctan.org/pkg/hyphenex), where it's billed explicitly as
> "Exceptions for American English hyphenation patterns."  While the
> overwhelming majority of these are sure to be valid in non-US variants
> of English, other such Englishes appear to be beyond the file's
> intended scope.

For me it boils down to getting groff to do best-effort hyphenation.

Despite my convictions as a Chomskyite critic of U.S. foreign policy, I
am inclined to a bit of Yankee imperialism here for the sake of pure
convenience, for us and for the user--if the locale matches "en", one
gets _some_ hyphenation patterns that will be mostly correctly as
opposed to none at all.

If Commonwealthers are sufficiently annoyed by Uhhhhmerican hyphenation
patterns being applied to the Queen's English, they should contribute
en_GB hyphenation and exception files.  I for one would be delighted to
accept them if there are no technical deficiencies.

Also there is a stupid error in the locale comparison logic in the
public version of my patch (I'm matching the whole string instead of
just the language part).  There is no need to point it out and I will
update the bug with a fresh patch at some point.

Regards,
Branden

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]