Module:Sandbox/CXuesong/Translations/Dictionary

-- The Translation Dictionary --[[

Hola!

In a nut shell, you can add new entries or translations simply by imitating the code already written after the manual below (starting from around line 100).

If you come accross any problems, plese refer to the manual below.

Word/Phrase Entry
The word (or phrase) dictionary is maintained as key-value pairs, or "entries", where the "key" is the English word/phrase to be translated, and the "value" is another dictionary as described in the "Translation Entry" section.

An word entry without whitespace can be written like this

Bluestar = { <-- Trnaslation entries go here. },            <-- don't forget the comma!

Keep in mind that all keys are case-sensitive.

If you're adding a phrase, where there're whitespaces in the entry, please write the entry like this

["Warrior Cats"] = { <-- Trnaslation entries go here. },            <-- don't forget the comma!

Note that you can also write word entries in this syntax (e.g. ["Bluestar"]), if you like.

Translation Entry
The syntax is similar to the rules described above, except that the "key" here is language tag, denoting the target language of translation.

de = "Krieger",        <-- don't forget the comma!

Thus, a complete word entry can be written like this

warrior = {       de = "Krieger", fr = "guerrier", ja = "戦士", ko = "전사", lt = "karių",      <-- You can leave a comma here. },

If you don't konw the language tag of your edition of the book, here is a commonly used language tag list: http://www.lingoes.net/en/translator/langcode.htm.

If your still cannot find the code for your language, you can try this: http://r12a.github.io/apps/subtags/ and use the "find" action. Note you should try to use two-letter language tags.

For some languages that have variants in different territories, you can denote the language like this

zh_cn

where "zh" stands for Chinese, and "cn" stands for the Chinese used in Mainland China, aka. Simplified Chinese. On the other hand, Traditional Chinese can be denoted as

zh_tw

This is mainly because the Traditional Chinese edition was published in Taiwan. Note that we use underscore instead of dash here (zh-tw), so we don't need to embrace the tag with square brackets and quote marks.

By the way, though it's not necessary, if you can keep the indension tidy, I'll be grateful. Thank you!

Have fun translating!

]]--

-- TRANSLATIONS --

local translations = { ["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 = "貓戰士" },   cat = {       de = "Katze", fi = "kissa", fr = "chat", hu = "macska", ja = "猫", ko = "고양이", lt = "katinas", nl = "kat", no = "katt", pl = "kot", ru = "кот (tom-cat)/кошка (she-cat)", cz = "kocour(tom-cat) kočka(she-cat)", es = "gato", zh_cn = "猫", zh_tw = "貓" },   leader = {       de = "Anführer", fi = "päällikkö", fr = "chef", hu = "vezér", ja = "族長", ko = "지도자", lt = "vadas", nl = "leider", no = "leder", pl = "przywódca", ru = "предводитель (tom-cat)/предводительница (she-cat)", cz = "velitel klanu", es = "líder", zh_cn = "族长", zh_tw = "族長" },   ["medicine cat"] = {       de = "Heiler", fi = "parantaja", fr = "guérisseur", hu = "gyógyító", ja = "看護猫", ko = "치료사", lt = "vaistytoja", nl = "medicijnkat", no = "medisinkatt", pl = "medyk", ru = "целитель (tom-cat)/целительница (she-cat)", cz = "léčitelská kočka", es = "curandero (a)", zh_cn = "巫医", zh_tw = "巫醫" },   warrior = {       de = "Krieger", fi = "soturi", fr = "guerrier", hu = "harcos", ja = "戦士", ko = "전사", lt = "karių", nl = "krijger", no = "kriger", pl = "wojownik", ru = "воитель (tom-cat)/воительница (she-cat)", cz = "válečník", es = "guerrero", zh_cn = "武士", zh_tw = "戰士" },   apprentice = {       de = "Schüler", fi = "oppilas", fr = "apprenti", hu = "növendék", ja = "見習い", ko = "훈련병", lt = "mokinių", nl = "leerling", no = "lærling", pl = "terminator", ru = "оруженосец/ученик (tom-cat)/ученица (she-cat)", cz = "učedník", es = "aprendiz", zh_cn = "学徒", zh_tw = "見習生" },   ThunderClan = {       de = "DonnerClan", fi = "Myrskyklaani", fr = "Clan du Tonnerre", hu = "Villámtörzs", ja = "サンダー族", ko = "천둥족", lt = "Perkūno klanas", nl = "DonderClan", no = "Tordenklanen", pl = "Klan Gromu", ru = "Грозовое племя", cz = "Hromový klan", es = "Clan del Trueno", zh_cn = "雷族", zh_tw = "雷族" },   WindClan = {       de = "WindClan", fi = "Tuuliklaani", fr = "Clan du Vent", hu = "Széltörzs", ja = "ウィンド族", ko = "바람족", lt = "Vėjo klanas", nl = "WindClan", no = "Vindklanen", pl = "Klan Wichru", ru = "Племя Ветра", cz = "Větrný klan", es = "Clan del Vientoo", zh_cn = "风族", zh_tw = "風族" },   RiverClan = {       de = "FlussClan", fi = "Jokiklaani", fr = "Clan de la Rivière", hu = "Folyótörzs", ja = "リヴァー族", ko = "강족", lt = "Upės klanas", nl = "RivierClan", no = "Elveklanen", pl = "Klan Rzeki", ru = "Речное племя", cz = "Říční klan", es = "Clan del Río", zh_cn = "河族", zh_tw = "河族" },   ShadowClan = {       de = "SchattenClan", fi = "Varjoklaani", fr = "Clan de l'Ombre", hu = "Árnytörzs", ja = "シャドウ族", ko = "그림자족", lt = "Šešėlio klanas", nl = "SchaduwClan", no = "Skyggeklanen", pl = "Klan Cienia", ru = "Племя Теней/Сумрачное племя", cz = "Stínový klan", es = "Clan de la Sombra", zh_cn = "影族", zh_tw = "影族" },   StarClan = {       de = "SternenClan", fi = "Tähtiklaani", fr = "Clan des Étoiles", hu = "Csillagtörzs", ja = "スター族", ko = "별족", lt = nil, nl = "SterrenClan", no = "Stjerneklanen", pl = "Klan Gwiezdny", ru = "Звёздное племя", cz = "Hvězdný klan", es = "Clan Estelar", zh_cn = "星族", zh_tw = "星族" },   Fireheart = {       de = "Feuerherz", fi = "Tulisydän", fr = "Cœur de Feu", hu = "Tűzszív", ja = "ファイヤハート", ko = "파이어스타", lt = "Ugniaširdis", nl = "Vuurhart", no = "Ildhjerte", pl = "Ogniste Serce", ru = "Огнегрив", cz = "Ohnivé srdce(Into the Wild) Ohnivous(Fire and Ice)", es = "Corazón de Fuego", zh_cn = nil, zh_tw = nil },   Firestar = {       de = "Feuerstern", fi = "Tulitähti", fr = "Étoile de Feu", hu = nil, ja = "ファイヤスター", ko = nil, lt = nil, nl = "Vuurster", no = "Ildstjerne", pl = "Огнезвёзд", ru = nil, cz = "Estrella de Fuego", es = "火星", zh_cn = "火星", zh_tw = nil },   Graystripe = {       de = "Graustreif", fi = "Harmaaraita", fr = "Plume Grise", hu = "Szürkecsíkos", ja = "グレーストライプ", ko = "그레이스트라이프", lt = nil, nl = "Grijsstreep", no = "Gråstripe", pl = "Popielata Skórka", ru = "Крутобок", cz = "Šedý pruh", es = "Látigo Gris", zh_cn = "灰条", zh_tw = "灰紋" },   Sandstorm = {       de = "Sandsturm", fi = "Hiekkamyrsky", fr = "Tempête de Sable", hu = "Homokvihar", ja = "サンドストーム", ko = "샌드스톰", lt = "Zandstorm", nl = "Sandstorm", no = "Piaskowa Burza", pl = "Песчаная Буря", ru = "Bouřka", cz = "Tormenta de Arena", es = nil, zh_cn = nil, zh_tw = nil },   Brambleclaw = {       de = "Brombeerkralle", fi = "Vatukkakynsi", fr = "Griffe de Ronce", hu = nil, ja = "ブランブルクロー", ko = nil, lt = nil, nl = "Braamklauw", no = "Buskeklo", pl = nil, ru = "Ежевика", cz = nil, es = "Zarzoso", zh_cn = "黑莓掌", zh_tw = nil },   Squirrelflight = {       de = "Eichhornschweif", fi = "Oravaliito", fr = "Poil d'Écureuil", hu = nil, ja = "スクワーレルフライト", ko = "스쿼럴플라이트", lt = nil, nl = "Kwiklicht", no = "Ekornflukt", pl = nil, ru = "Белка", cz = nil, es = "Esquiruela", zh_cn = "松鼠飞", zh_tw = nil },   Leafpool = {       de = "Blattsee", fi = "Lehtilampi", fr = "Feuille de Lune", hu = nil, ja = "リーフプール", ko = nil, lt = nil, nl = "Loofpoel", no = "Løvtjern", pl = nil, ru = "Листвичка", cz = nil, es = "Hojarasca Acuática", zh_cn = "叶池", zh_tw = nil },   Bluestar = {       de = "Blaustern", fi = "Sinitähti", fr = "Étoile Bleue", hu = "Kékcsillag", ja = "ブルスター", ko = nil, lt = nil, nl = "Blauwster", no = "Blåstjerne", pl = nil, ru = "Синяя Звезда", cz = nil, es = "Estrella Azul", zh_cn = "蓝星", zh_tw = nil }, }

- END OF TRANSLATIONS -

- -- DO NOT MODIFY THE CODE BELOW -

return translations