[ Index ]
 

Code source de eZ Publish 3.9.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/settings/ -> transform.ini (source)

   1  #?ini charset="iso-8859-1"?
   2  # eZ publish configuration file for character transformations
   3  #
   4  # NOTE: It is not recommended to edit this files directly, instead
   5  #       a file in override should be created for setting the
   6  #       values that is required for your site. Either create
   7  #       a file called settings/override/transform.ini.append or
   8  #       settings/override/transform.ini.append.php for more security
   9  #       in non-virtualhost modes (the .php file may already be present
  10  #       and can be used for this purpose).
  11  
  12  [Transformation]
  13  # Where to look for transformation files.
  14  # The files all end in .tr
  15  Repository=share/transformations
  16  # The standard transformation files to load
  17  Files[]
  18  Files[]=basic.tr
  19  Files[]=ascii.tr
  20  # Extensions that have transformation files
  21  Extensions[]
  22  
  23  # The available transformation groups
  24  # each group can define the rules it uses
  25  Groups[]
  26  Groups[]=search
  27  Groups[]=urlalias
  28  Groups[]=identifier
  29  Groups[]=uppercase
  30  Groups[]=lowercase
  31  
  32  # Maps from a charset to the unicode group
  33  # The group identifier can be used to load certain
  34  # extra transformation files when that charset is used.
  35  # Each entry consists of:
  36  # <charset>;<group>
  37  Charsets[]
  38  
  39  # The latin group
  40  Charsets[]=iso-8859-1;latin
  41  Charsets[]=iso-8859-2;latin
  42  Charsets[]=iso-8859-3;latin
  43  Charsets[]=iso-8859-4;latin
  44  Charsets[]=iso-8859-9;latin
  45  Charsets[]=iso-8859-10;latin
  46  Charsets[]=iso-8859-13;latin
  47  Charsets[]=iso-8859-14;latin
  48  Charsets[]=iso-8859-15;latin
  49  Charsets[]=cp437;latin
  50  Charsets[]=cp775;latin
  51  Charsets[]=cp850;latin
  52  Charsets[]=cp852;latin
  53  Charsets[]=cp857;latin
  54  Charsets[]=cp860;latin
  55  Charsets[]=cp861;latin
  56  Charsets[]=cp862;latin
  57  Charsets[]=cp863;latin
  58  Charsets[]=cp865;latin
  59  Charsets[]=cp932;latin
  60  Charsets[]=utf-8;latin
  61  Charsets[]=windows-1250;latin
  62  Charsets[]=windows-1252;latin
  63  Charsets[]=windows-1254;latin
  64  Charsets[]=windows-1257;latin
  65  Charsets[]=windows-1258;latin
  66  
  67  # The cyrrilic group
  68  Charsets[]=koi8;cyrillic
  69  Charsets[]=koi8-r;cyrillic
  70  Charsets[]=koi8-u;cyrillic
  71  Charsets[]=iso-8859-5;cyrillic
  72  Charsets[]=cp932;cyrillic
  73  Charsets[]=cp866;cyrillic
  74  Charsets[]=cp855;cyrillic
  75  Charsets[]=windows-1251;cyrillic
  76  Charsets[]=utf-8;cyrillic
  77  
  78  # The greek group
  79  Charsets[]=cp437;greek
  80  Charsets[]=cp737;greek
  81  Charsets[]=cp860;greek
  82  Charsets[]=cp861;greek
  83  Charsets[]=cp862;greek
  84  Charsets[]=cp863;greek
  85  Charsets[]=cp864;greek
  86  Charsets[]=cp865;greek
  87  Charsets[]=cp869;greek
  88  Charsets[]=cp932;greek
  89  Charsets[]=iso-8859-7;greek
  90  Charsets[]=macintosh;greek
  91  Charsets[]=windows-1253;greek
  92  Charsets[]=utf-8;greek
  93  
  94  # The hebrew group
  95  Charsets[]=cp862;hebrew
  96  Charsets[]=iso-8859-8;hebrew
  97  Charsets[]=windows-1255;hebrew
  98  Charsets[]=utf-8;hebrew
  99  
 100  # Special transformations for latin (latin1, latin extended-a, latin extended-b)
 101  [latin]
 102  # Extra transformation files for latin
 103  Files[]=latin.tr
 104  # Extensions that have transformation files when latin is used
 105  Extensions[]
 106  
 107  # Special transformations for cyrillic
 108  [cyrillic]
 109  # Extra transformation files for cyrillic
 110  Files[]=cyrillic.tr
 111  # Extensions that have transformation files when cyrillic is used
 112  Extensions[]
 113  
 114  # Special transformations for greek
 115  [greek]
 116  # Extra transformation files for greek
 117  Files[]=greek.tr
 118  # Extensions that have transformation files when greek is used
 119  Extensions[]
 120  
 121  # Special transformations for hebrew
 122  [hebrew]
 123  # Extra transformation files for hebrew
 124  Files[]=hebrew.tr
 125  # Extensions that have transformation files when hebrew is used
 126  Extensions[]
 127  
 128  # [<group>]
 129  # Rules[]=<command>(<option>[,<option>])
 130  # or
 131  # Rules[]=<command>
 132  #
 133  # Commands:
 134  # normalize
 135  # - Normalizes multiple characters with similar meaning to one type
 136  # - Looks for rule named <parameter>_normalize for each parameter
 137  # - If no parameters are used it will find all normalize rules
 138  #
 139  # search_normalize
 140  # - Runs normalization rules required for search engine
 141  # - Looks for rule named <parameter>_search_normalize for each parameter
 142  # - If no parameters are used it will find all search rules
 143  #
 144  # transform
 145  # - Transforms one type of character into another
 146  # - Looks for rule named <parameter1>_to_<parameter2>
 147  # - If no parameters are used it will find all transformation rules
 148  #
 149  # decompose
 150  # - Turns special characters into strings representing the character
 151  # - Looks for rule named <parameter>_decompose for each parameter
 152  # - If no parameters are used it will find all decompose rules
 153  #
 154  # lowercase
 155  # - Turns characters into their lowercase variant if possible
 156  # - Looks for rule named <parameter>_lowercase for each parameter
 157  # - If no parameters are used it will find all lowercase rules
 158  #
 159  # uppercase
 160  # - Turns characters into their uppercase variant if possible
 161  # - Looks for rule named <parameter>_uppercase for each parameter
 162  # - If no parameters are used it will find all uppercase rules
 163  #
 164  # transliterate
 165  # - Converts from one type of charset to another by finding similar
 166  #   characters or strings
 167  # - Looks for rule named <parameter1>_transliterate_<parameter2>
 168  # - If no parameters are used it will find all transliteration rules
 169  #
 170  # diacritical
 171  # - Removes diacriticals from characters
 172  # - Looks for rule named <parameter>_diacritical for each parameter
 173  # - If no parameters are used it will find all diacritical rules
 174  #
 175  # rule
 176  # - Runs custom transformation rule
 177  # - Looks for rule named <parameter> for each parameter
 178  # - If no parameters are used it will do nothing
 179  #
 180  # Special commands:
 181  # url_cleanup
 182  # - Performs cleanups to make the text presentable in a URL
 183  #
 184  # identifier_cleanup
 185  # - Performs cleanups to make the text usable as an identifier
 186  #
 187  # search_cleanup:
 188  # - Performs cleanup to make the text parsable by the search engine
 189  # - Looks for rule named <parameter>_search_cleanup for each parameter
 190  
 191  # Rules used by the search engine, these rules ensures that
 192  # the index or search text is normalized in such way
 193  # to make it easier for the engine to work with it.
 194  [search]
 195  # Extra transformation files for search
 196  Files[]
 197  Files[]=search.tr
 198  # Extensions that have transformation files when search is used
 199  Extensions[]
 200  # The commands to use for search
 201  Commands[]
 202  #Commands[]=transform
 203  Commands[]=decompose
 204  Commands[]=normalize
 205  Commands[]=diacritical
 206  Commands[]=search_normalize
 207  Commands[]=lowercase
 208  Commands[]=transform(inverted,normal)
 209  Commands[]=transform(math,ascii)
 210  Commands[]=search_cleanup
 211  
 212  # Rules used by the url alias system (nice urls), the rules
 213  # ensures that the text is transformed to ascii equivalent
 214  # characters. The most important rules are the transliteration
 215  # lowercase and diacritical removal.
 216  [urlalias]
 217  # Extra transformation files for urlalias
 218  Files[]
 219  # Extensions that have transformation files when urlalias is used
 220  Extensions[]
 221  # The commands to use for search
 222  Commands[]
 223  Commands[]=normalize
 224  Commands[]=transform
 225  Commands[]=decompose
 226  Commands[]=transliterate
 227  Commands[]=diacritical
 228  Commands[]=lowercase
 229  Commands[]=url_cleanup
 230  
 231  # Rules used by identifiers in eZ publish in general.
 232  # The rules ensures that the text is transformed to
 233  # ascii equivalent characters.
 234  # The most important rules are the transliteration lowercase and
 235  # diacritical removal.
 236  [identifier]
 237  # Extra transformation files for identifiers
 238  Files[]
 239  # Extensions that have transformation files when identifiers are used
 240  Extensions[]
 241  # The commands to use for identifiers
 242  Commands[]
 243  Commands[]=normalize
 244  Commands[]=transform
 245  Commands[]=decompose
 246  Commands[]=transliterate
 247  Commands[]=diacritical
 248  Commands[]=lowercase
 249  Commands[]=identifier_cleanup
 250  
 251  # Rules which makes character into uppercase
 252  # These rules works in similar way to strtoupper in PHP but will
 253  # work regardless of locale used.
 254  [uppercase]
 255  # Extra transformation files for identifiers
 256  Files[]
 257  # Extensions that have transformation files when identifiers are used
 258  Extensions[]
 259  # The commands to use for identifiers
 260  Commands[]
 261  Commands[]=uppercase
 262  
 263  # Rules which makes character into lowercase
 264  # These rules works in similar way to strtolower in PHP but will
 265  # work regardless of locale used.
 266  [lowercase]
 267  # Extra transformation files for identifiers
 268  Files[]
 269  # Extensions that have transformation files when identifiers are used
 270  Extensions[]
 271  # The commands to use for identifiers
 272  Commands[]
 273  Commands[]=lowercase


Généré le : Sat Feb 24 10:30:04 2007 par Balluche grâce à PHPXref 0.7