Thread Tools Display Modes
Prev Previous Post   Next Post Next
02-09-12, 05:30 PM   #1
Grimsin
A Molten Giant
 
Grimsin's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2006
Posts: 990
AceLocale Question

I noticed a lot of people have their locale files separated, I want to use one file for all languages is that possible with acelocale? Im trying the following and it says it cant find LdeDE...
Code:
-- US/English Localization enUS
local LenUS = LibStub("AceLocale-3.0"):NewLocale("GrimUI", "enUS", true, true)
--Binding Headers
LenUS["Raid Targeting Mouseover"] = true
LenUS["World Target / Flares"] = true
LenUS["Sound"] = true
LenUS["Temporary Mute"] = true
LenUS["Toggle Mute"] = true
LenUS["Blue Flare"] = true
LenUS["Green Flare"] = true
LenUS["Purple Flare"] = true
LenUS["Red Flare"] = true
LenUS["Yellow Flare"] = true
LenUS["Clear all World Targets"] = true

-- Germany/German Localization deDE
local LdeDE = LibStub("AceLocale-3.0"):NewLocale("GrimUI", "deDE")
--Binding Headers
LdeDE["Raid Targeting Mouseover"] = "Überfall Ziel Mausüber"
LdeDE["World Target / Flares"] = "Welt Ziel / Flare"
LdeDE["Sound"] = "Klingen"
LdeDE["Temporary Mute"] = "Temporäre Stummschaltung"
LdeDE["Toggle Mute"] = "Stummschaltung"
LdeDE["Blue Flare"] = "Blau Flare"
LdeDE["Green Flare"] = "Grüne Flare"
LdeDE["Purple Flare"] = "Lila Flare"
LdeDE["Red Flare"] = "Rot Flare"
LdeDE["Yellow Flare"] = "Gelb Flare"
LdeDE["Clear all World Targets"] = "Löschen aller Welt Ziele"
__________________
"Are we there yet?"

GrimUI
[SIGPIC][/SIGPIC]
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » AceLocale Question

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off