我需要让系统区域设置来做很多事情,最终我想使用gettext来翻译我的应用程序。我打算在Linux和OSX上分发它,但我在OSX Snow Leopard上遇到了问题:
$ python
Python 2.5.2 (r252:60911, Jan 4 2009, 17:40:26)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import locale
>
背景资料:
我用Mac OSX Yosemite。
我使用gtk+安装了brew install gtk+,并使用export PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig修复了错误。
我已经使用make构建了我的程序,但是当我尝试运行它时,我会收到如下警告:
(process:16182): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
问题:我找不到针对这个特定问题的OS解决方案。
到目前为止,我学到的是:
我下载了。我正在尝试交叉编译它,以便ARM(PandaBoard)运行精简版本的linux。
在配置的初始设置中,我尝试
Shell$ ./configure --host=ARM
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking for correct TEA configuration... ok (TEA 3.9)
在我的英文linux系统中,我有
$ diff a b
Only in b: bmm.awda
Common subdirectories: a/c and b/c
Only in b: gsegwehh
Only in a: Link to t
Only in b: new file (4th copy)
Only in a: r
Only in a: t
Only in b: zxzxczx
在使用不同语言的系统中,输出会是什么?bash命令输出是否被翻译成每种语言??就像在意大利语里我会
$ diff a b
Solo in b: bmm.awda
Subdirectories comu