Tim/Paul/Tony
Thanks for the suggestions and bringing clarity to the issue. After
understanding your suggestions, I want to go striaght to the actual
issue down below that made me to post environment issue.
The actual issue/Problem:
Its kind of funny tome right now, but letme shoot the problem so
Nalli Dinesh wrote:
I using locale.setlocale and u guys know when we use this setlocale.
Yes I am working on Localising my application-a pygtk application.
When one says
import locale
locale.setlocale(locale.LC_ALL, ' ')
You don't really have a blank space between those quotes, do you?
There is no space between the quotes in locale.setlocale(locale.LC_ALL, '').
And I tried setting the Variable like the way u suggested:
import os
os.environ['LANG'] = 'ja_JP'
import locale
locale.setlocale(locale.LC_ALL, '')
import sys
import pygtk
It doesn;t change my
wow.Thanks Roger for letting the group know about the bug fix on this
os.environ issue. I never used python2.4.1. But I don;t intend as of
now to move to 2.4.1 from 2.4. And the link u gave me to see the bug
fix has a patch code below to add to os.py file in python2.4 as a bug
fix. How do I
Hmm. I tried out this patch. This patch is about adding update
function to os.py.
Update is removed in python2.4, now adding this patch gave me access
to use update in python2.4
My problem persists. locale.setlocale doesn't work even though we set
LANG environment variable using update function.
I
From: Nalli Dinesh
Hmm. I tried out this patch. This patch is about adding
update function to os.py.
Update is removed in python2.4, now adding this patch gave me
access to use update in python2.4 My problem persists.
locale.setlocale doesn't work even though we set LANG
environment