how should I write lang=es-Ar in gem-page.gmi?

https://www.reddit.com/r/geminiprotocol/comments/1dhmgnz/how_should_i_write_langesar_in_gempagegmi/

created by jazei_2021 on 17/06/2024 at 01:23 UTC

2 upvotes, 1 top-level comments (showing 1)

hi, I'd like to put in my gemini-pages.gmi that they are in language es-AR

so, what should I put in the first line of gem-page.gmi to specify lang=es-AR?

maybe it is something like **20 text/gemini; charset=utf-8; lang=es-AR**

when I put that line in the first line of gem-page.gmi, Lagrange shows that line in the page like it is content of the page.gmi .

but I don't know how write this specification.

how do you write it? with "" o ' or comment-like ....

thank you and regards!

Comments

Comment by hermesnikesas at 17/06/2024 at 04:28 UTC

3 upvotes, 1 direct replies

Usually servers handle this automatically. Individual files generally don't include the header.

What server do you use? Depending on what it is, you might be able to use CGI to set the header.