User:CXuesong/Translations/Dictionary guide

Hola!

In a nut shell, you can add new entries or translations simply by imitating the code already written in the module, I mean, Module:Sandbox/CXuesong/Translations/Dictionary. You can add or edit the translations by editing the code in the module. So, the lines between the two comment blocks

-   --- TRANSLATIONS -

and

-    END OF TRANSLATIONS -

is where you're supposed to work on. Please do not change anything out of the boundary.

A sample translation block may look as follows

BeginGroup("Series") AT("Warrior Cats", { de = "Warrior Cats", fi = "Soturikissat", fr = "La Guerre des Clans", hu = "Harcosok Törzse", ja = "ウォーリアーズ", ko = "고양이 전사들", lt = "Klanų Kariai", nl = "Warrior Cats", no = "Kattekrigerne", pl = "Wojownicy", ru = "Коты-воители", cz = "Divoké kočky(first book) Válečníci(other books)", es = "Los gatos guerreros", zh_cn = "猫武士", zh_tw = "貓戰士" }) AT("The Prophecies Begin", { de = nil, fi = nil, fr = nil, hu = nil, ja = nil, ko = nil, lt = nil, nl = nil, no = nil, pl = nil, ru = nil, cz = nil, es = "Los cuatro clanes", zh_cn = "预言开始", zh_tw = nil }) AT("New Prophecy", { de = nil, fi = nil, fr = nil, hu = nil, ja = nil, ko = nil, lt = nil, nl = nil, no = nil, pl = nil, ru = nil, cz = nil, es = nil, zh_cn = "新预言", zh_tw = nil }) -- blah blah blah blah EndGroup

where

AT("term", translations) where
 * BeginGroup denotes the beginning of a set of translations of the same type, such as series names, volume names, character names, etc.
 * EndGroup denotes the end of the set of translations as defined in the previous BeginGroup instruction.
 * AT is the abbreviation of AddTranslation, and you should place your translation in the following syntax
 * term is the English word or phrase of which you're going to define translations.
 * translations is the translation table, in the following syntax