It was thus said that the Great C?me Chilliet once stated: > Hello, Hello. > Has anyone worked on content available in multiple language on gemini? > What is the most common practice, some /en at start/end of path, and links > at the page bottom to switch language? I'm working on that right now for GLV-1.12556 [1]. The planned support (which should be available in an hour or so) is to allow a person to set both the default language [2] and character set [3][4] server wide, per host, per directory or per file [5] in the configuration file. There are other ways of solving this (special file extensions, a map of filenames to languages, etc.) but that's how I'm solving this particular issue. -spc [1] https://github.com/spc476/GLV-1.12556 [2] No default. If not set, the lang paramter for text/* MIME types will not be set. [3] Also no default, and I suspect no one will really use this except for maybe at the directory or file level for legacy text files. But as long as I was doing the lang= parameter, I thought I might as well do the charset= parameter. [4] These two settings cascade down through the configuration file. You can set it server wide and override it at the host, directory or file levels. [5] Technically, per content handler. The built-in handlers for GLV-1.12556 include a directory handler, a file handler (so you can reference individual files not in the main diretory) and userdirectories.
---
Previous in thread (6 of 12): 🗣️ Côme Chilliet (come (a) chilliet.eu)
Next in thread (8 of 12): 🗣️ John Cowan (cowan (a) ccil.org)