Download
(4Kb)
Download
Updated: 02-27-15 04:02 AM
Compatibility:
The Adventure Continues (6.1)
Updated:02-27-15 04:02 AM
Created:01-27-14 04:48 AM
Downloads:1,410
Favorites:10
MD5:

MacroTranslator

Version: 6.1.0.6
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.1.0.6
Update for WoW 6.1

Version 6.0.3.5
Improved handling of spells that change names based on specialization or talents

Version 6.0.2.4
  • Update for WoW 6.0

Version 5.4.8.3
  • 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
Post A Reply Comment Options
Unread 10-16-14, 05:34 AM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Version 6.0.2.11
  • Update for WoW 6.0
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Report comment to moderator  
Reply With Quote
Unread 09-30-14, 12:18 AM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
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)".
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Last edited by Phanx : 09-30-14 at 12:21 AM.
Report comment to moderator  
Reply With Quote
Unread 08-22-14, 02:50 PM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
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.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
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: 393
Uploads: 1
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
__________________
Report comment to moderator  
Reply With Quote
Unread 08-22-14, 07:55 AM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
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.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Last edited by Phanx : 08-22-14 at 09:08 AM.
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: 393
Uploads: 1
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?
__________________
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: