[dev-context] Re: cont-en.xml

Hans Hagen pragma at wxs.nl
Tue Jan 3 19:05:07 CET 2006


Patrick Gundlach wrote:

>Hi,
>
>in cont-de.xml
>
><cd:interface xmlns:cd="http://www.pragma-ade.com/commands" name="context" language="en" version="2004.11.17">
>
>should be 
>
><cd:interface xmlns:cd="http://www.pragma-ade.com/commands" name="context" language="de" version="2004.11.17">
>
>I'd guess (language="en" -> langugage="de"). 
>
>  
>

in ctxtools, add

            data.gsub!(/(\<cd\:interface[^\>]*?language=")en(")/) do
                $1 + interface + $2
            end

before:

            report("saving #{outfile}")

(then run ctxtools --translate de)

Hans


More information about the dev-context mailing list