LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 623|回复: 0

请问:RC文件与Locale

[复制链接]
发表于 2006-4-14 15:51:36 | 显示全部楼层 |阅读模式
在RC文档中说:
For each RC file, in addition to the file itself, GTK+ will look for a locale-specific file that will be parsed after the main file. For instance, if LANG is set to ja_JP.ujis, when loading the default file ~/.gtkrc then GTK+ looks for ~/.gtkrc.ja_JP and ~/.gtkrc.ja, and parses the first of those that exists.

这的意思是不是指当我为程序指定一个rc文件后,他会根据当前的locale值来判断读取哪个字体文件?不仅界面可以得到改变,界面上当字体也都可以进行改变呢??那这样当话为是不是就可以改变locale的值来改变程序界面的语言呢??
请各位高手指教!

另:Ubuntu系统,当LANG=zh_CN.UTF-8时,系统读取当是哪个字体文件阿?LANG=C时呢?谢谢大家!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表