src/hp/settings.py
changeset 47 6bebef3405d5
parent 45 316a0101512e
equal deleted inserted replaced
46:de1e5c484575 47:6bebef3405d5
    27 TIME_ZONE = 'America/Chicago'
    27 TIME_ZONE = 'America/Chicago'
    28 
    28 
    29 # Language code for this installation. All choices can be found here:
    29 # Language code for this installation. All choices can be found here:
    30 # http://www.i18nguy.com/unicode/language-identifiers.html
    30 # http://www.i18nguy.com/unicode/language-identifiers.html
    31 LANGUAGE_CODE = 'en-us'
    31 LANGUAGE_CODE = 'en-us'
       
    32 
       
    33 ugettext = lambda s: s
       
    34 
       
    35 LANGUAGES = ( 
       
    36     ('fr', ugettext('French')),
       
    37     ('en', ugettext('English')),
       
    38     ('ja', ugettext('Japanese')),
       
    39 )
       
    40 
    32 
    41 
    33 SITE_ID = 1
    42 SITE_ID = 1
    34 
    43 
    35 # If you set this to False, Django will make some optimizations so as not
    44 # If you set this to False, Django will make some optimizations so as not
    36 # to load the internationalization machinery.
    45 # to load the internationalization machinery.