Configuration File format


A Ini file in Fcitx contains at least one group, each group contains several options. A group is defined in "[GroupName]" format, an options is defined by "Key=Value".

All configuration file should have a configuration description file in following format.

                [GroupName/OptionName]
                Type=Option Type
                Description=Description String
                DefaultValue=value
                
                [DescriptionFile]
                LocaleDomain=Domain
            

DefaultValue is optional, but if configuration file need to be generated from nothing, all options should have a default value.

The option value type can be "File", "Font", "Enum", "String", "I18NString", "Boolean", "Color", "Integer".

All the types will be display in the configuration tool in corresponding way, "Boolean" will be a checkbox, "String" will be a textbox, etc.

"Description" is translatable, and the string should lies in the defined domain.