[ Index ]
 

Code source de Kupu-1.3.5

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/common/ -> kupu.cgi (source)

   1  #!/usr/bin/python2.3
   2  
   3  import os, sys
   4  os.chdir(os.path.abspath(os.path.dirname(__file__)))
   5  sys.path.append(os.path.abspath('../python'))
   6  
   7  from nationalizer import Nationalizer, get_locale
   8  
   9  if __name__ == '__main__':
  10      print 'Content-Type: text/html;charset=UTF-8'
  11      print
  12      locale = get_locale()
  13      if locale is None:
  14          locale = ['nl']
  15      i = Nationalizer('kupu.html', locale)
  16      print i.translate().encode('UTF-8')


Généré le : Sun Feb 25 15:30:41 2007 par Balluche grâce à PHPXref 0.7