Lang parameters

Sandra Snan sandra.snan at idiomdrottning.org
Mon Aug 31 05:08:19 BST 2020


Right, thank you all for your answers so far!♥

I guess what I should've asked is to what extent servers already can do
this. Sean mentioned GLV-1.12556 but it's not in sample-conf.lua as far
as I can see. I guess with gig writing a custom router is also an
option.

I just don't wanna be reinventing any existing wheels.

I have a collection of texts in a mix of languages. Each file is written
in a single language.

I'm OK with a sidecar per file, a sidecar per directory, one big sidecar
for the entire site, or with renaming the files: for example the server
gets the request for foo.gmi, it finds foo.en.gmi and serves that up as
foo.gmi in English. (Or a similar convention, foo.gmi-en, foo-en.gmi,
foo.en, I can adapt my data to fit what the server wants.) For the
sidecar solutions, I obv don't want to serve up those sidecars via
Gemini requests, they're for the server's eyes only.

Any server so far do any one of those four things (with an already
existing module, plugin, configuration, or out of the box)?

I understand that Gig or GLV-1.12556 can do it with scripting; does
those scripts already exist?

This isn't a showstopper for me getting on Gemini, I'm plowing ahead and
just not putting any language parameters in, but, I'm almost done with
the "generating the site" part and am about to choose a server
implementation.

If it doesn't exist I'll put adding the language tags very far down on
the "someday/maybe" list. So exhausted RN...♥


More information about the Gemini mailing list