Documents with mixed languages

Luke Emmet luke at marmaladefoo.com
Mon Dec 13 17:28:05 GMT 2021


Hello

On 11-Dec-2021 12:00, Wolf wrote:

> And I think I've notice a missing thing in
> text/gemini format. In particular regarding documents with content
> composed from multiple languages. The specification provides this
> example:
> 
> "text/gemini; lang=en,fr"
>    Denotes a text/gemini document written in a mixture of English and
>    French
> 
> However, that seems to be a document-wide settings. If I wanted a
> document to have a mix of Japanese and Chinese, I believe it would be:
> 
> "text/gemini; lang=ja,zh"
> 
> However, that in itself is not very useful. What I think is missing is
> an ability to set language for a specific part of the document itself.
> I'm not sure if the spec is permanently frozen or can still be extended,
> but I would like to propose adding a language toggle command to
> text/gemini.

Yes there are lots of modes of communication that Gemtext is not perfect 
for. Tabular data, inline formatting, etc.

You are not limited to only serving gemtext over gemini, you can serve 
other media types such as HTML, PDF, ODF etc, which may be better suited 
to this particular desire than gemtext which is - as plain to see and by 
design - quite basic. Those might be better for your use case. For 
non-gemtext pages, clients will usually provide an option to save 
locally or to open other media types in the associated application 
allowing the content to be viewed.

Regards

  - Luke


More information about the Gemini mailing list