62 |
|
|
63 |
from gnue.common.rpc import GComm, GCommBase |
from gnue.common.rpc import GComm, GCommBase |
64 |
from gnue.common.apps import GConfig, GDebug |
from gnue.common.apps import GConfig, GDebug |
65 |
|
from gnue import paths |
66 |
|
|
67 |
import string, sys |
import string, sys |
68 |
|
|
72 |
import gettext |
import gettext |
73 |
|
|
74 |
try: |
try: |
75 |
gettext.install('gnue',GConfig.getInstalledBase('install_prefix')+'/translations') |
gettext.install('gnue',paths.data+'share/locale') |
76 |
except IOError: |
except IOError: |
77 |
GDebug.printMesg(1,'Unable to load locale information falling back to default English language translations.') |
GDebug.printMesg(1,'Unable to load locale information falling back to default English language translations.') |
78 |
import __builtin__ |
import __builtin__ |