Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(7 Kb)
Download
Updated: 10-16-14 05:33 AM
Compatibility:
Warlords of Draenor Pre-Patch (6.0.2)
Siege of Orgrimmar (5.4)
Updated:10-16-14 05:33 AM
Created:01-27-14 04:48 AM
Downloads:199
Favorites:8
MD5:
6.0.2
MacroTranslator  Updated this week!
Version: 6.0.2.11
by: Phanx [More]
Translates the spell and item names in your macros when you switch game languages.
It currently works on regular macros and Clique macros. If you use another macro addon and would like to see support for it, post a comment with a link to its download page.
Notes:
For items, you can actually write "item:6948" instead of "Hearthstone", but there is no equivalent "spell:id" format for spell names in macros, and personally I'd rather write out the item name anyway if space permits, so this addon will let you keep your macros readable and functional when you switch to a different language!
Limitations:
Due to the way the Blizzard functions for getting information about spells and items by name works, the translation will only work for spells that have been seen in your spellbook, and for items that have been seen in your bags, in each language you play in.

Normally, the addon only runs its translation routine when you log in. If you need to run it manually for some reason (maybe you had a macro for using an item that you didn't have in your bags when you logged in, but picked up later, for example) you can use the /macrotrans command.
How to back up your macros:
If you'd like to back up your macros before using this addon, in case it decides to eat them instead of translate them, back up the following files:
  • Account-wide:
    World of Warcraft » WTF » Account » 123456#1 » macros-cache.txt
  • Character-specific:
    World of Warcraft » WTF » Account » 123456#1 » Realm » Character » macros-cache.txt
Feedback
Post a comment. If you are reporting a bug, please include detailed instructions I can follow to reproduce the bug myself, whether or not it still happens when all other addons are disabled, and the exact text of the first related error message (if any) from Bugger.

I've only tested switching between English and German. If you have an issuse with the addon's handling of a specific macro, please post both the original version (from your backup) and the translated version the addon produced.
Version 6.0.2.11
  • Update for WoW 6.0

Version 5.4.8.7
  • Added a workaround for logging in or editing macros in combat
  • Added a workaround for item names not always being available fast enough at login
  • Fixed "translations" for inventory and bag slot numbers

Version 5.4.8.2
  • Added support for Clique macros/spells as well as regular macros

Version 5.4.2.1
  • First public release
Archived Files (3)
File Name
Version
Size
Author
Date
5.4.8.7
7kB
Phanx
09-28-14 03:35 PM
5.4.8.2
6kB
Phanx
08-01-14 11:59 PM
5.4.2.1
5kB
Phanx
01-27-14 04:48 AM


Post A Reply Comment Options
Unread 10-16-14, 05:34 AM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4391
File comments: 2032
Uploads: 40
Version 6.0.2.11
  • Update for WoW 6.0
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 09-30-14, 12:18 AM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4391
File comments: 2032
Uploads: 40
Version 5.4.8.7
  • Added a workaround for logging in or editing macros in combat
  • Added a workaround for item names not always being available fast enough at login
  • Fixed "translations" for inventory and bag slot numbers

For example, "/use 13" will no longer mistakenly think "13" is a spell ID and replace it with "Swim Speed (TEST)".
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Last edited by Phanx : 09-30-14 at 12:21 AM.
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 08-22-14, 02:50 PM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4391
File comments: 2032
Uploads: 40
Currently the spellbook is only scanned at logout; you can use the "/macrotrans" command to manually scan it during gameplay for spells like this, but at some point I will need to come up with an automatic solution, since WoD is doing more consolidation of related spells into the same ID and will cause more problems of this sort.
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 08-22-14, 10:05 AM  
Baine
A Murloc Raider
 
Baine's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 331
Uploads: 2
i've got 2 macros, which are essentially the same except the used spell
one of those macros is the following:
Code:
#showtooltip Segenswort: Epiphanie
/cast [@mouseover,help,nodead] [] Segenswort: Epiphanie
btw, i tried it again...
disabled chakra, reloaded interface
switch chakra, reloaded
switch chakra again, logged out

switched my language from german to english, checked my macros
have to admit, that they are translated now

looks like the reloads where needed to fetch those extra names/ids
sorry for taking up your time with this
__________________
Baine is offline Report comment to moderator  
Reply With Quote
Unread 08-22-14, 07:55 AM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4391
File comments: 2032
Uploads: 40
I actually can't reproduce this. I don't have a priest, but my warlock has several spells with colons in their names, and they're all translated correctly when switching between English and German. Can you post the actual macro(s) that aren't being translated? It may be something other than the spell name. Also, which languages are you switching between?

Edit: After reading the comments on the page for the spell you linked, I think the problem is with that particular spell; it doesn't normally exist in your spellbook under that name. You use another spell (Chakra: Serenity) to transform the base spell (Holy Word: Chastise) into that spell (Holy Word: Serenity) temporarily. I'll have to consider how best to handle cases like this.
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Last edited by Phanx : 08-22-14 at 09:08 AM.
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 08-21-14, 01:01 AM  
Baine
A Murloc Raider
 
Baine's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 331
Uploads: 2
hey there

great addon, allows me to switch languages easily, so thanks for making this

one thing i noticed though, i can't handle spells with : in their name...

for example, http://www.wowhead.com/spell=88684
no lua error, just won't get translated. is that intended?
__________________
Baine is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: