Last modified: 2007-06-04 17:31:38 UTC
Several wikicode commands (like "thumb", "left", etc) can be translated to another language using MagicWords arrays. This is specialy useful to Right-to-Left languages (like Farsi, Hebrew, Arabic) because a Left-to-Right word (like "left") in the middle of a row of right to left text results in troubles in editing the content of the page, using different browsers, while a Right-to-Left translation would not. One of the mostly used and most important wikicode commands which cannot be translated (correct me if I'm wrong) is the IF command. It would be a very useful update if the code would be revised so the MagicWords extension could also support translation of {{#if: and {{#ifeq: commands. Same for {{#switch: and other commands of this family. Hope you find it easy to solve.
Parser functions can be translated; at the moment, all we have are the default English and Hebrew translations. Translations should be supplied as patches against ParserFunctions.php; see the bottom of the file.