In /usr/share/gconf/schemas/gedit.schemas, it can set different key value of auto_detected according to the local settings.
For example, when the LANG=zh_CN, the following will be set:
<locale name="zh_CN"> <default>[CURRENT,GB18030,GBK,GB2312,UTF-8,UTF-16]</default>
</locale>
postinst scripts of gedit:
if [ "$1" = "configure" ]; then gconf-schemas --register gedit-file-browser.schemas gedit.schemas
fi
In /usr/share/ gconf/schemas/ gedit.schemas, it can set different key value of auto_detected according to the local settings.
For example, when the LANG=zh_CN, the following will be set:
<default> [CURRENT, GB18030, GBK,GB2312, UTF-8,UTF- 16]</default>
<locale name="zh_CN">
</locale>
postinst scripts of gedit:
gconf- schemas --register gedit-file- browser. schemas gedit.schemas
if [ "$1" = "configure" ]; then
fi