Download
(3 Kb)
Download
Updated: 03-08-10 04:18 PM
Pictures
File Info
Updated:03-08-10 04:18 PM
Created:02-24-10 04:38 PM
Downloads:1,472
Favorites:10
MD5:
ChatRaidIconTranslator
Version: v1.2.1
by: Mokhtar [More]
In a multilingual raid, allows a player who uses a different locale than the message sender to still see raid icons in chat as icon and not as non-localized text.
Moreover when you send a chat message it translates your locale-dependant aliases ({skull}, {cross} etc..) in the general form ({rt1-8}) so that everybody can see them.

Available translations for now : English, German (thanks W4andy), Korean (thanks Toodirty), Chinese + Taiwan (thanks Digmouse) and French
v1.2.1 :
- Removed AceHook dependancy

v1.2 :
- Added Korean translation
- Added Chinese + Taiwan translation

v1.1 :
- Added reverse support (when sending message, ensures everyone can see symbols by replacing locale-dependant aliases by rt1-8)
- Added german translation
- Added support for raid warning popping on screen
Optional Files (0)


Archived Files (3)
File Name
Version
Size
Author
Date
v1.2
15kB
Mokhtar
03-01-10 02:06 PM
v1.1
14kB
Mokhtar
02-25-10 05:36 PM
v1.0
2kB
Mokhtar
02-24-10 04:38 PM


Post A Reply Comment Options
Old 03-05-10, 10:51 AM  
ckaotik
A Fallenroot Satyr
 
ckaotik's Avatar
AddOn Author - Click to view AddOns

Forum posts: 24
File comments: 166
Uploads: 5
Originally posted by Mokhtar
I will have to check the API but I imagine it is possible...
Works like a charm, thank you
__________________
It all starts to make a creepy kind of sense. Avatar
ckaotik is offline Report comment to moderator  
Reply With Quote
Old 03-01-10, 04:17 PM  
Mokhtar
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 26
Uploads: 8
If someone can confirm it works on chinese / taiwanese / korean translation it would be great. I normally saved in UTF8 but I am not familiar with the encoding problematics...
Mokhtar is offline Report comment to moderator  
Reply With Quote
Old 03-01-10, 02:44 AM  
Mokhtar
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 26
Uploads: 8
Originally posted by nightcracker
I'm sorry, but WHAT THE FUCK?

You are using the Ace lib for TWO simple hooks
Just use this function and your done:

Code:
local function hook(tobehooked, func)
     local old = _G[tobehooked]
     _G[tobehooked] = function(...)
          old(func(...))
     end
end
Yes, clearly I am retarded to use a library to hook a (btw secure) function, I don't want to know the ins and outs of hooking a function, maybe the fact that it is secure is not impactant at all, I don't know and I am not interested in knowing, hence the use of AceHook that handles it without me having to know...
Moreover it's hardly as if I used a highly exotic library, chances are 95% of the people that will use this addon already have Ace3 somewhere and embedded in there is AceHook...

You may know better than me (actually you probably do), I am only a simple dev that tries and provides what I deem as missing functionnalities. If you really want to teach me something, do not belittle me at the same time, it's not a good teaching technique.
Last edited by Mokhtar : 03-01-10 at 02:53 AM.
Mokhtar is offline Report comment to moderator  
Reply With Quote
Old 02-28-10, 11:08 PM  
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 714
File comments: 429
Uploads: 31
I'm sorry, but WHAT THE FUCK?

You are using the Ace lib for TWO simple hooks
Just use this function and your done:

Code:
local function hook(tobehooked, func)
     local old = _G[tobehooked]
     _G[tobehooked] = function(...)
          old(func(...))
     end
end
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
nightcracker is offline Report comment to moderator  
Reply With Quote
Old 02-28-10, 10:30 PM  
digmouse
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 65
Uploads: 2
Simp.Chinese
addon.translations["zhCN"] = {
["{星星}"]="rt1",
["{圆形}"]="rt2",
["{coin}"]="rt2",
["{菱形}"]="rt3",
["{三角}"]="rt4",
["{月亮}"]="rt5",
["{方块}"]="rt6",
["{cross}"]="rt7",
["{x}"]="rt7",
["{骷髅}"]="rt8",
}

Trad.Chinese
addon.translations["zhTW"] = {
["{星星}"]="rt1",
["{圈圈}"]="rt2",
["{coin}"]="rt2",
["{鑽石}"]="rt3",
["{三角}"]="rt4",
["{月亮}"]="rt5",
["{方形}"]="rt6",
["{十字}"]="rt7",
["{x}"]="rt7",
["{頭顱}"]="rt8",
}

make sure the locale file is saved in UTF-8
__________________
Does not matter anymore.
Last edited by digmouse : 02-28-10 at 10:43 PM.
digmouse is offline Report comment to moderator  
Reply With Quote
Old 02-26-10, 03:28 AM  
toodirty
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
korean translation

addon.translations["koKR"] = {
["{별}"]="rt1",
["{동그라미}"]="rt2",
["{원}"]="rt2",
["{다이아몬드}"]="rt3",
["{세모}"]="rt4",
["{달}"]="rt5",
["{네모}"]="rt6",
["{엑스}"]="rt7",
["{가위표}"]="rt7",
["{해골}"]="rt8",
}
toodirty is offline Report comment to moderator  
Reply With Quote
Old 02-25-10, 05:46 PM  
Mokhtar
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 26
Uploads: 8
OK done, v 1.1 up
Mokhtar is offline Report comment to moderator  
Reply With Quote
Old 02-25-10, 06:09 AM  
Mokhtar
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 26
Uploads: 8
Originally posted by ckaotik
Do you plan on having it work the other way around, too? What I mean:
In a perfect world, everyone in a raid would use this addon und we would all be happy and understand the raid symbols.
But as far as I dare to say, nothing is perfect out there So will you add a "reverse" feature that takes what you're going to type (e.g. "Kill {skull} first!") and transforms it into the rt-form (in this case "Kill {rt8} first!") *before* sending it? Similar to those auto complete chat addons? That way you can make sure that if at least YOU use the mod, everyone will see the proper icon
I will have to check the API but I imagine it is possible...

@W4andy : thanks, I will add that
Last edited by Mokhtar : 02-25-10 at 06:10 AM.
Mokhtar is offline Report comment to moderator  
Reply With Quote
Old 02-25-10, 04:52 AM  
ckaotik
A Fallenroot Satyr
 
ckaotik's Avatar
AddOn Author - Click to view AddOns

Forum posts: 24
File comments: 166
Uploads: 5
Do you plan on having it work the other way around, too? What I mean:
In a perfect world, everyone in a raid would use this addon und we would all be happy and understand the raid symbols.
But as far as I dare to say, nothing is perfect out there So will you add a "reverse" feature that takes what you're going to type (e.g. "Kill {skull} first!") and transforms it into the rt-form (in this case "Kill {rt8} first!") *before* sending it? Similar to those auto complete chat addons? That way you can make sure that if at least YOU use the mod, everyone will see the proper icon
__________________
It all starts to make a creepy kind of sense. Avatar
ckaotik is offline Report comment to moderator  
Reply With Quote
Old 02-25-10, 03:47 AM  
w4andy
A Kobold Labourer

Forum posts: 1
File comments: 4
Uploads: 0
nice addon

german translation
Code:
addon.translations["deDE"] = {
	["{stern}"]="rt1",
	["{kreis}"]="rt2",
	["{diamant}"]="rt3",
	["{dreieck}"]="rt4",
	["{mond}"]="rt5",
	["{quadrat}"]="rt6",
	["{kreuz}"]="rt7",
	["{x}"]="rt7",
	["{totenschädel}"]="rt8",
}
w4andy is offline Report comment to moderator  
Reply With Quote
Old 02-25-10, 12:25 AM  
Mokhtar
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 26
Uploads: 8
{rt1} to {rt8} is available in every language.
And I make use of that in my mod
The thing with rt1/8 is that the guy who types it has to know what each number stands for. I prefer to not rely on any knowledge/intelligence on the other side and compensate for it in an addon...
Last edited by Mokhtar : 02-25-10 at 06:10 AM.
Mokhtar is offline Report comment to moderator  
Reply With Quote
Old 02-24-10, 05:43 PM  
dr_AllCOM3
A Cyclonian
 
dr_AllCOM3's Avatar
AddOn Author - Click to view AddOns

Forum posts: 40
File comments: 280
Uploads: 15
{rt1} to {rt8} is available in every language.
dr_AllCOM3 is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: