💾 Archived View for gemi.dev › gemini-mailing-list › 000681.gmi captured on 2024-03-21 at 17:58:49. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-12-28)

-=-=-=-=-=-=-

Gemini Server with multiple Language support

1. devel (a) datenbrei.de (devel (a) datenbrei.de)

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??

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

Link to individual message.

2. Omar Polo (op (a) omarpolo.com)


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

Link to individual message.

3. Stephane Bortzmeyer (stephane (a) sources.org)

On Wed, Feb 10, 2021 at 02:27:54PM +0100,
 devel at datenbrei.de <devel at datenbrei.de> wrote 
 a message of 28 lines which said:

> Is there a Gemini server with language setting on directory level or such
> and otherwise just for hosting gemtext??

Same issue with Gemserv (unless I missed something in the
documentation). So, to have english and french content, I've setup two
vhosts, one for each language.

> For me it seems, that there is nearly no German language content up
> to now, or at least I did not find it.

According to the Lupa crawler
<gemini://gemini.bortzmeyer.org/software/lupa/>, there are two pages
in german:

lupa=> SELECT url FROM Urls WHERE lang = 'de';
                      url                       
------------------------------------------------
 gemini://gemini.frndc.de/
 gemini://qwertqwefsday.eu/specification.de.gmi
(2 rows)

Link to individual message.

4. devel (a) datenbrei.de (devel (a) datenbrei.de)

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

That was fast. :-D I'll have a try and if everything goes well you will 
probably see the next [ANN] post. :-)

Martin

Link to individual message.

5. Sean Conner (sean (a) conman.org)

It was thus said that the Great devel at datenbrei.de once stated:
> Hi all!

  Hello!

> Is there a Gemini server with language setting on directory level or 
> such and otherwise just for hosting gemtext??

  GLV-1.12556 [1] can set the language attribute globally, per host, per
directory and if you are so willing, per file.

  -spc (Disclaimer:  I wrote GLV-1.12556)

[1]	https://github.com/spc476/GLV-1.12556

Link to individual message.

6. devel (a) datenbrei.de (devel (a) datenbrei.de)

Hi Sean,

thanks, I will give it a try, though today I set up gmid from Omar. 
Well, in the moment I'm having much fun trying out all the new stuff. 
The only missing thing is content :-D

Ciao, Martin

Am 10.02.21 um 20:58 schrieb Sean Conner:
> It was thus said that the Great devel at datenbrei.de once stated:
>> Hi all!
> 
>    Hello!
> 
>> Is there a Gemini server with language setting on directory level or
>> such and otherwise just for hosting gemtext??
> 
>    GLV-1.12556 [1] can set the language attribute globally, per host, per
> directory and if you are so willing, per file.
> 
>    -spc (Disclaimer:  I wrote GLV-1.12556)
> 
> [1]	https://github.com/spc476/GLV-1.12556
>

Link to individual message.

---

Previous Thread: [ANN] Gemini capsule: cratermouse

Next Thread: Gemini and Tor