[Thunar-dev] Create File

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Wed Feb 1 14:57:22 CET 2006


Jannis Pohlmann wrote:
>>So, what we would need is a way to have different templates per
>>language. Maybe organized ala CDE below
>>$datadir/Thunar/Templates/<lang>, dunno.
> 
> 
> Hmmm, that's true, of course. Perhaps don't fill the templates with
> language specific content and just name them differently dependent on
> the language? Just like this:
> 
> "Python-Skript.py" (de), "Python Script.py" (en), ...:
> 
> 	-- Content --
> 	#!/usr/bin/env python
> 	-- EOF --
> 
> "HMTL-Dokument" (de), "HTML Document" (en), ...:
> 
> 	-- Content --
> 	<!DOCTYPE ...>
> 	<html>
> 	  <head>
> 	    <title></title>
> 	    ...
> 	  </head>
> 	  <body>
> 	  </body>
> 	</html>
> 	-- EOF --
> 
> Okay, there probably are templates where translated content makes sense
> or even is necessary. Just thoughts.

Hm, dunno. I don't like the Templates/<lang>/ idea. I need someone to
come up with a brilliant idea that solves all template problems (uhm,
where's my oracle?). ;-)

> - Jannis

Benedikt



More information about the Thunar-dev mailing list