Posted 15 June 2014 - 05:36 PM
Okay so I quite like the Inheritance Series (Eragon Books) and I quite liked the cool idea of having a way of being able to use the language, especially with the Shurtugal Mod. So I created a small language file. It is loaded the same way as a configuration file! This is a small project and I plan to add more to it, and I have just started a translator. Here is the file:
pastebin get tkk7diHe eragon_language
It is small but it works so you open it with a handle, you can use my API's loadConfig function which is retrievable here:
pastebin get rTDR0tjx uretrieve
and then download the API! Just simply use:
To use it:
Here is the code:
pastebin get tkk7diHe eragon_language
It is small but it works so you open it with a handle, you can use my API's loadConfig function which is retrievable here:
pastebin get rTDR0tjx uretrieve
and then download the API! Just simply use:
lang = uapi.loadConfig("LanguageFile")
The "LanguageFile" being whatever you named it as on your file system!To use it:
-- Once you have loaded to print stuff, you can do:
print(lang.backward)
Here is the code:
-- The Ancient Language File (Table): (Inheritance Series)
-- Created By DannySMc
-- Version 1
--[[ How to use
This is a word bank for The Ancient Language, from the inheritance series of books!
It has the English to Ancient Language translations. So if you used lang.from it would print fra.
If you have any configuration file folders then try and use these to load the config otherwise,
use the following code as a function in your program to load the language file:
function loadConfig(file) -- Loads a table as a configuration file, make sure to use a handle
fConfig = fs.open(file, "r")
ret = textutils.unserialize(fConfig.readAll())
return ret
end
To load the config use: (use local infront of the first line, if you are ony using it for a small part of the code):
lang = loadConfig("Ancient_Language.lua")
and then to print what backward means in the ancient language then use:
print(lang.backward)
The english word comes after the language file's handle which is whatever you want to use, in my example I used lang.
If you can't find a word then search this file, and use Ctrl + f to use the find function for most programs on Windows.
--]]
{
["a"] = "aí",
["am"] = "eddyr",
["and"] = "un",
["are"] = "eru",
["backward"] = "aptr",
["be"] = "waíse",
["did"] = "achí",
["do"] = "ach",
["does"] = "ach",
["for"] = "wiol",
["forward"] = "fram",
["from"] = "fra",
["have"] = "hávr",
["in"] = "unin",
["is"] = "er",
["let"] = "atra",
["may"] = "sé",
["not"] = "néiat",
["of"] = "abr",
["that"] = "sem",
["the"] = "du",
["this"] = "thornessa",
["those"] = "orya",
["to"] = "eom",
["under"] = "undir",
["up"] = "audr",
["upon"] = "vel",
["was"] = "ero",
["were"] = "erní",
["will"] = "weohnata",
["with"] = "medh",
["all"] = "allr",
["I"] = "eka",
["he"] = "älfr",
["his"] = "älfrs",
["me"] = "eka",
["my"] = "pömnuria",
["who"] = "iknol",
["she"] = "älfrinn",
["their"] = "theirra",
["they"] = "therr",
["those"] = "thorna",
["us"] = "nosu",
["you"] = "ono",
["your"] = "onr",
["air"] = "vindr"
["arrow"] = "oro"
["banishing"] = "aurboda"
["bat"] = "lethrblaka",
["bird"] = "fethrblaka",
["blanket"] = "nagz"
["blood"] = "blödh",
["lily_empire"] = "loivissa",
["bond_of_trust"] = "yawë",
["Brightscales"] = "Bjartskular",
["brow"] = "brun",
["cactus_helgrind"] = "talos",
["calves_cow"] = "kalfya",
["calves_leg"] = "kalvis",
["celebration"] = "agaetí",
["city"] = "dras",
["cripple"] = "togira",
["daughter"] = "dautr",
["day"] = "dag",
["death"] = "anglát",
["death2"] = "freohr",
["death3"] = "dauth",
["dominance"] = "domia",
["Dominance_of_Fate"] = "Domia abr Wyrda",
["skulblaka"] = "scale flapper",
["dragon_rider"] = "Shur'tugal",
["dream"] = "draumr",
["dwarves"] = "dvergar",
["ears"] = "eyreya",
["earth"] = "deloi",
["elf"] = "älfa",
["elf_kind"] = "älfakyn",
["elf_woman"] = "älfa-kona",
["fabric"] = "lámarae",
["family_house"] = "breoal",
["fate"] = "wyrda",
["feather"] = "fethr",
["flame"] = "istalrí",
["flower"] = "fëon",
["fire"] = "brisingr",
["fool's_wisdom"] = "orothrim",
["forest"] = "welden",
["Forsworn"] = "Wyrdfell",
["friend"] = "fricai",
["friend2"] = "vinr",
["gate"] = "grind",
["gold"] = "kuldr",
["good_fortune"] = "esterní",
["greetings"] = "Kvetha",
["Hallowed_Day"] = "dagshelgr",
["hand"] = "lam",
["harm"] = "haina",
["happiness"] = "ilian",
["heart"] = "hjarta",
["heart_of_hearts"] = "Eldunarí",
["hell"] = "hel",
["ill"] = "vandr",
["king"] = "könungr",
["knife"] = "knifr",
["leaf"] = "laufsbläd",
["leather"] = "lethr",
["life"] = "líf",
["life's"] = "lifs",
["light"] = "garjzla",
["lightning"] = "kveykva",
["elven_liqueur"] = "faelnirv",
["luck"] = "guliä",
["magic"] = "vanyali",
["magic2"] = "gramarye",
["master"] = "ebrithil",
["memory"] = "manin",
["misery"] = "zar'roc",
["misfortune"] = "rauthr",
["mist"] = "rakr",
["mist2"] = "datia",
["mixture_moisture"] = "nalgask",
["mourning"] = "Chetowä",
["Morning_Star"] = "Aiedail",
["mortal"] = "dauthleikr",
["mountain"] = "fell",
["movement"] = "sharjalví",
["name"] = "nama",
["oath"] = "ren",
["orb"] = "böllr",
["palm"] = "ignasia",
["path"] = "gata",
["peace"] = "mor'ranr",
["picture_magic"] = "fairth",
["Place_of_Sorrow"] = "Ristvak’baen",
["plains"] = "völlar",
["poison"] = "eitrum",
["princess"] = "drötningu",
["purple_flowered_plant"] = "delois",
["rain"] = "thringa",
["sage"] = "osthato",
["scale"] = "skul",
["script"] = "kvaedhi",
["serpent"] = "orúm",
["shadow"] = "súndav",
["shield"] = "skölir",
["silver"] = "arget",
["Silver_hand"] = "Argetlam",
["sorrow"] = "baen",
["Spine"] = "Carthungavë",
["Spring"] = "vara",
["stars"] = "evarínya",
["stick"] = "vöndr",
["stone"] = "stenr",
["sun"] = "solus",
["sword"] = "sverd",
["The_Burning_Plains"] = "Du Völlar Eldrvarya",
["The_Dragon_War"] = "Du Fyrn Skulblaka",
["The_Guarding_Forest"] = "Du Weldenvarden",
["the_morning_star"] = "Aiedail",
["The_Sighing_Mists_poem"] = "Du Silbena Datia",
["The_Wandering_Path"] = "Du Vrangr Gata",
["thornapple"] = "haldthin",
["thought"] = "hugin",
["tree"] = "traevam",
["truth"] = "thorta",
["type_of_bond_between_dragon_and_rider"] = "indlvarn",
["prominence"] = "edur",
["war"] = "fyrn",
["warden"] = "adurna",
["witch"] = "seithr",
["wolf"] = "garm",
["word"] = "eïnradhin",
["woman"] = "kona",
["awaken"] = "vakna",
["beautiful"] = "nuanen",
["bind"] = "malthinae",
["blasted_cursed"] = "nángoröth",
["baby"] = "burthr",
["born"] = "burthro",
["break_hit"] = "jierda",
["bright"] = "bjart",
["brighten"] = "naina",
["broad"] = "böetq",
["burn"] = "eldrvarya",
["catch"] = "kodthr",
["change"] = "moi",
["die"] = "deyja",
["dull"] = "gëuloth",
["empty"] = "eyddr",
["find"] = "finna",
["flap"] = "blaka",
["fly"] = "flauga",
["follow"] = "tauthr",
["go"] = "gánga",
["hallowed"] = "shelgr",
["halt"] = "blöthr",
["happy"] = "ilia",
["harm"] = "haina",
["healed"] = "heill",
["hear"] = "hóna",
["hide"] = "frethya",
["hold"] = "huildr",
["honour"] = "celöbra",
["ill"] = "vandr",
["invoke"] = "ethgrí",
["lack"] = "vanta",
["leave"] = "eitha",
["live"] = "lífa",
["marked"] = "fodhr",
["mean"] = "malabra",
["mourning"] = "osthato",
["need"] = "vanta",
["oaken"] = "ekar",
["poetic"] = "liduen",
["quiet"] = "maela",
["raise"] = "reisa",
["red"] = "raudhr",
["reduce"] = "brakka",
["release"] = "losna",
["rest"] = "stydja",
["rise"] = "rïsa",
["rule"] = "thelduin",
["run"] = "hlaupa",
["scale"] = "skul",
["see"] = "sjon",
["sharp"] = "hvass",
["shining"] = "Gedwëy",
["sighing"] = "silbena",
["silent"] = "hljödhr",
["sing"] = "gala",
["sleep"] = "slytha",
["smooth"] = "lunaea",
["speak"] = "ilerneo",
["stare"] = "kópa",
["stay"] = "sitja",
["steal"] = "äftaka",
["stop"] = "letta",
["strong"] = "ramr",
["take"] = "taka",
["temper"] = "tuatha",
["thank"] = "elrun",
["thicken"] = "thaefathan",
["thrust"] = "thrysta",
["traverse"] = "thverr",
["unconquerable"] = "edoc'sil",
["under"] = "undir",
["unite"] = "gath",
["unlock"] = "ma'mor",
["wandering"] = "vrangr",
["ward"] = "vard",
["warded"] = "vardo",
["warders"] = "varden",
["watch"] = "varda",
["white"] = "hvitr",
["whole"] = "ikonoka",
}
Edited on 15 June 2014 - 06:11 PM