On Sat, Apr 11, 2026 at 04:40:29PM +0300, Eli Zaretskii wrote:
> > Date: Fri, 10 Apr 2026 12:52:37 +0200
> > From: Patrice Dumas <[email protected]>
> > 
> > After reading some BCP 47 related information, such as
> >  https://www.unicode.org/reports/tr35/tr35-76/tr35.html
> > I am now wondering if we should not have instead a way to specify the
> > script, directly, like
> > 
> > @documentscript latin
> 
> Script and language are not the same.  There are scripts which support
> many languages (the most obvious example is the latin script).

Indeed.  @documentscript would only be for the script, and should only
be needed if there are multiple scripts.  For example

@documentlanguage sr
@documentscript Latn

> > and construct a locale with @modifier for gettext translation retrieval,
> > but also construct a BCP 47 locale name for HTML, DocBook and possibly other
> > purposes.
> 
> The modifier specifies minor modifications of the language, so it
> cannot replace the language (IIUC what you are suggesting here).

No, the @documentscript would come in addition to the @documentlanguage,
for the (rare) case where the user want to use a script that is ont the
default language script.

-- 
Pat

Reply via email to