Thread Tools Display Modes
01-22-13, 03:04 AM   #1
A_Nolan
A Deviate Faerie Dragon
 
A_Nolan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2007
Posts: 16
Faction Translations

These are the Factions listed by group for five of the main languages translations

i have started them in photo because i am frustrated in trying to format this

first 3 are Alliance Factions

Click image for larger version

Name:	wow acaf.jpg
Views:	1423
Size:	42.6 KB
ID:	7529

Click image for larger version

Name:	wow o av.jpg
Views:	915
Size:	39.6 KB
ID:	7530

Click image for larger version

Name:	wow c mop.jpg
Views:	603
Size:	26.7 KB
ID:	7531
__________________
w.w.J.d. read the book and find out (J 3:16)
  Reply With Quote
01-22-13, 05:05 AM   #2
Nimhfree
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 267
I am not sure why one needs to list all these. I used to have them all listed but decided it would be a lot easier to update the values from the Blizzard runtime. Blizzard has API localizedFactionName = GetFactionInfoByID(reputationIndex). You can make a list of the factions in each of the expansions like
Code:
			{
			[1] = { 69, 54, 47, 72, 930, 1134, 530, 76, 81, 68, 911, 1133, 509, 890, 730, 510, 729, 889, 21, 577, 369, 470, 910, 609, 749, 990, 270, 529, 87, 909, 92, 989, 93, 349, 809, 70, 59, 576, 922, 967, 589, 469, 67, },
			[2] = { 942, 946, 978, 941, 1038, 1015, 970, 933, 947, 1011, 1031, 1077, 932, 934, 935, 1156, 1012, },
			[3] = { 1037, 1106, 1068, 1104, 1126, 1067, 1052, 1073, 1098, 1105, 1119, 1064, 1050, 1085, 1091, 1090, 1094, 1124, },
			[4] = { 1158, 1173, 1135, 1171, 1174, 1178, 1172, 1177, 1204, },
			[5] = { 1216, 1351, 1270, 1277, 1275, 1283, 1282, 1228, 1281, 1269, 1279, 1243, 1273, 1358, 1276, 1271, 1242, 1278, 1302, 1341, 1337, 1345, 1272, 1280, 1352, 1357, 1353, 1359, 1375, 1376, 1387, 1388, },
			},
Then iterate through it for each reputationIndex.
  Reply With Quote
01-22-13, 05:41 PM   #3
A_Nolan
A Deviate Faerie Dragon
 
A_Nolan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2007
Posts: 16
Faction language translations

Faction language translation is what i am going for not just pulling them out but a actual listing of translations without having to go and pull them individuality and get help when new ones appear
__________________
w.w.J.d. read the book and find out (J 3:16)
  Reply With Quote
01-22-13, 07:40 PM   #4
Torhal
A Pyroguard Emberseer
 
Torhal's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 1,196
That's against the WoW ToS, so...
__________________
Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Author of NPCScan and many other AddOns.
  Reply With Quote
01-22-13, 07:47 PM   #5
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
Originally Posted by Torhal View Post
That's against the WoW ToS, so...
What is? Nothing posted above is against the ToS that I saw.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
01-22-13, 08:17 PM   #6
Torhal
A Pyroguard Emberseer
 
Torhal's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 1,196
Code of Conduct


As with all things, your use of the Game is governed by certain rules. These rules (the “World of Warcraft Code of Conduct”), maintained and enforced exclusively by Blizzard, must be adhered to by all players. It is your responsibility to know, understand and abide by this World of Warcraft Code of Conduct. The following rules are not meant to be exhaustive, and Blizzard reserves the right to determine which conduct it considers to be outside the spirit of the Game and to take such disciplinary measures as it sees fit up to and including termination and deletion of the Account. Blizzard reserves the right to modify this Code of Conduct at any time.

B. Rules Related to "Chat" and Interaction With Other Users. Communicating in-game with other Users and Blizzard representatives, whether by text, voice or any other method, is an integral part of the Game and the Service and is referred to here as "Chat." When engaging in Chat, you may not:

(viii) Communicate directly with players who are playing characters aligned with the opposite faction (e.g. Horde communicating with Alliance or vice versa)
__________________
Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Author of NPCScan and many other AddOns.

Last edited by Torhal : 01-22-13 at 08:19 PM. Reason: Added section B for clarity
  Reply With Quote
01-22-13, 07:47 PM   #7
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
I'm not sure what you mean by "actual listing ... without having to go and pull them individually ... when new ones appear". There is no API function for "get a list of all possible factions", nor one for "get a list of all translations for this faction name".

Regardless of whether you use locale-dependent names or locale-indepedent IDs, you're still going to have to manually add the string or ID to your addon; the only difference is that if you use IDs, you only have to add the ID once, whereas if you use names, you have to find and enter the translation for every language.

In-game, the only way to get a list of factions is to loop over the factions known to the player:

Code:
for i = 1, GetNumFactions() do
     local name, description, standingID, barMin, barMax, barValue, atWarWith, canToggleAtWar,
          isHeader, isCollapsed, hasRep, isWatched, isChild, factionID = GetFactionInfo(i)
     -- do something here
end
Basically, I think the problem is that you didn't actually say what you want this data for, or what you are trying to do with it, and there's not really any way for us to give you an answer without knowing what the question is.

Edit: If you mean "faction language translation" as in translating in-game languages used by the opposite faction (eg. translating Common to Orcish so you can understand what the Alliance are yelling) that is against the WoW ToS, and against this site's ToS; you will not get any help with that here, and you risk getting your account banned by Blizzard if they catch you doing it .

If you mean "faction language translation" as in translating the names of factions into different languages (eg. translating "Night Elf" into French and German) then that is fine, but you'll need to be more specific about what you are actually trying to do if you want any help.
__________________
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 : 01-22-13 at 07:49 PM.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Faction Translations


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