Gemini Server with multiple Language support


devel at datenbrei.de <devel at datenbrei.de> writes:

> Hi all!
>
> I'm Martin from Augsburg, in the south of Germany. At first I'm happy
> to have found this nice community. I'm reading this list for a few
> days now. :-)
>
> I'm planning to set up a server with English and German language
> support. I had some experiments with Agate, but in Agate one can set a
> language definition just for each and every single file or for the
> whole server.
>
> Is there a Gemini server with language setting on directory level or
> such and otherwise just for hosting gemtext??

Shameless self-promotion: gmid[0][1] supports location rules and lets
you customize the language.  A configuration like this would do the job:

    server "example.com" {
        cert "..."
        key  "..."
        root "..."

        # default lang...
        lang "en"

        # ... except for documents under the "de" directory.
        location "/de/*" {
            lang "de"
        }
    }

Cheers!

[0]: https://github.com/omar-polo/gmid
[1]: gemini://gemini.omarpolo.com/pages/gmid.gmi

> For me it seems, that there is nearly no German language content up to
> now, or at least I did not find it. So to lower the barrier for new
> German people interested in Gemini I'd like to provide some content
> instead just on my own weblog, where btw I did write an article about
> Gemini in German language:
>
> https://herrdoering.de/de/gemini-minismalistisches-parallel-web/
>
> Writing the link on an extra line is just to not confuse anybody ;-)
>
> Later I'd like to learn Go and try coding a small game or bot or
> such. Since the protocol allows single line input this could be a fun
> thing.
>
> Martin

---

Previous in thread (1 of 6): 🗣️ devel (a) datenbrei.de (devel (a) datenbrei.de)

Next in thread (3 of 6): 🗣️ Stephane Bortzmeyer (stephane (a) sources.org)

View entire thread.