Writing systems/Syntax/fr

This page describes special markups found in LanguageConverter, a system which converts between language variants via means of character/word replacement. Dans tous les exemples ci-dessous, les caractères en minuscules sont utilisés pour représenter le Chinois Simplifié, et ceux en MAJUSCULES représentent le Chinois Traditionnel.

Concept
Ces marqueurs ressemblent à :



Where flags are described below, and variant names are language codes (like zh-cn or zh-tw).

Inheritance via fallback among variants is available. In the following examples designed for Chinese, zh-cn and zh-sg are variants of the zh-hans script, while zh-hk, zh-mo are variants of the zh-hant script. For example, according to the  definition in LanguageZh.php, if no rules for zh-hk were found, the converter would try using definitions for zh-hant, zh-mo, and zh-tw.

Exceptions
Language converter avoids converting anything found in "code" blocks like , , as well as the  tag used for carrying executable JavaScript. Putting an empty conversion rule block  inside these tags will function as a "force convert" switch for the converter. This hack can be useful for code samples nested in these tags.