BabbleLib

  Download the Curse Client

Last Update: May 9, 2008 (1 week ago)
Category: Library
Tags: functions
Project Manager: ckknight
Current Version: BabbleLib 2.1.0 r36352
(for World of Warcraft 2.1.0)
Downloads Today: 50
Downloads Total: 6,572
Favorites: 29
Comments: 2
  • About BabbleLib
  •  

A few libraries to help with localization.
This works as either an embedded library or a standalone addon.

English, German, French, Simplified Chinese.

This provides a lot of handy features.
I'll show German in the following examples, but it works for French and English as well:
Class: "Hexenmeister"
Class color: "Hexenmeister" -> purple
Zone: "Das Brachland"
Spell: "Blitzheilung"
Spell tree: "Wiederherstellung"
Spell icon: "Blitzheilung" -> "Interface\\Icons\\Spell_Holy_FlashHeal"
Boss name: "Vaelastrasz der Verdorbene"

Users:
TO INSTALL: Put the BabbleLib folder into
\World of Warcraft\Interface\AddOns\

Developers:
Place the BabbleLib lua files into your AddOn's folder, then add BabbleLib.lua to the .toc file.
Then, to access the library, in your code, write `local babbleCore = BabbleLib:GetInstance("Core 1.1")`.
From that point on, you can access BabbleLib's functions.

  • Downloads (4)
  •  

You need to login or register to post comments.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.
 
  • June 3, 2006, 05:42AM (1 year, 11 months ago)

    Awesome mod. No more ridiculous guess-cut-paste off of wow-europe or sifting through the entrails of mods that may or may not have translated something. With chinese to boot! The latest version of my Switcher mod now requires BabbleLib!

    Anomalies: 1) FIND_MINERALS & FIND_HERBS are in the names section, but not the icon section. 2) TRACK_HUMANOIDS="Ability_Tracking" for druids is in the icon section, but the hunter one ?="Spell_Holy_PrayerOfHealing" is mia.

    Feature requests: 1) Not a big deal but I copy the localized strings as well as icon texture into small class specific local structures. GetSpellIcon() tacks on the prefix path, how about a function that just returns the unique part? I can just as easily write my code to use just the unique part at the end & through the miracle of lua strings incur no overhead whatsoever. 2) Switcher lets you autocast a tracking spell if none are active. Sadly 3 of those are from items & not in this wonderful mod: elixers to DETECT_UNDEAD, DETECT_DEMONS & DETECT_HIDDEN. This may imply dumping the entire items database though which sounds like a grotesque idea. Or maybe just crafted items. 3) Oh yeah, Korean!

    Idle thought: Not really a feature request, but maybe something that can be implemented / solved somehow. For lack of a better idea I detect mounts using a list of item ids laboriously copied from Allakhazam. This is not at all future proof & needs updating everytime a mount gets deprecated or a new one added, however it is locale independent. It would be neat to have categories of objects somehow. So, mounts in this example, but I can see potions foods drinks weapons armor etc. possibly being helpful.

  • Aug. 17, 2006, 03:52PM (1 year, 9 months ago)

    http://img175.imageshack.us/my.php?image=fubarerrorfp8.jpg

 
  • Similar Addons
  •  
  1. 97 BonusScanner2.0 Library
  2. 84 Kaliban UI Library, Unit Frames, and ...
  3. 56 UnitRange Library
  4. 55 Chronos Library
  5. 44 IframeManager Library, Unit Frames, Other, ...