Thread Tools Display Modes
01/26/18, 02:21 PM   #1
fritzOSU03
 
fritzOSU03's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2016
Posts: 19
Urich's Skill Point Finder Translations [Any]

Hey all,

I'm looking to have the following strings translated. I suspect that most of the proper names won't need much translation but I could definitely be wrong. Nearly everything is limited on space so short/simple is appreciated. Thanks in advance!

Lua Code:
  1. local strings = {
  2.     USPF_SETTINGS_FONT_TITLE = "Font Settings",
  3.    
  4.     USPF_SETTINGS_FONT_TITLE_HEADER = "Title/Footer Font",
  5.     USPF_SETTINGS_FONT_TITLE_DESC = "Set the table header and footer fonts.",
  6.    
  7.     USPF_SETTINGS_FONT_GSP_TITLE = "General Skill Points Font",
  8.     USPF_SETTINGS_FONT_GSP_ROWS = "Set the General Skill Points table row font.",
  9.    
  10.     USPF_SETTINGS_FONT_SQS_TITLE = "Quests & Skyshards Font",
  11.     USPF_SETTINGS_FONT_SQS_ROWS = "Set the Zone Quests & Skyshards table row font.",
  12.    
  13.     USPF_SETTINGS_FONT_GDQ_TITLE = "Group Dungeon Quests Font",
  14.     USPF_SETTINGS_FONT_GDQ_ROWS = "Set the Group Dungeon Quests table row font.",
  15.    
  16.     USPF_SETTINGS_FONT_PDB_TITLE = "Public Dungeon Group Events Font",
  17.     USPF_SETTINGS_FONT_PDB_ROWS = "Set the Public Dungeon Group Boss Events table row font.",
  18.    
  19.     USPF_SETTINGS_RELOAD_WARNING = "Will need to reload the UI.",
  20.    
  21.    
  22.     USPF_SETTINGS_COLOR_TITLE = "Color Settings",
  23.     USPF_SETTINGS_COLOR_GSP_DONE = "General - Done",
  24.     USPF_SETTINGS_COLOR_GSP_NOT_DONE = "General - Not Done",
  25.     USPF_SETTINGS_COLOR_ZQ_DONE = "Zone Quests - Done",
  26.     USPF_SETTINGS_COLOR_ZQ_NOT_DONE = "Zone Quests - Not Done",
  27.     USPF_SETTINGS_COLOR_SS_DONE = "Skyshards - Done",
  28.     USPF_SETTINGS_COLOR_SS_NOT_DONE = "Skyshards - Not Done",
  29.     USPF_SETTINGS_COLOR_GDQ_DONE = "Group Dungeons - Done",
  30.     USPF_SETTINGS_COLOR_GDQ_NOT_DONE = "Group Dungeons - Not Done",
  31.     USPF_SETTINGS_COLOR_PDB_DONE = "Public Dungeons - Done",
  32.     USPF_SETTINGS_COLOR_PDB_NOT_DONE = "Public Dungeons - Not Done",
  33.     USPF_SETTINGS_COLOR_DESC_DONE = "Set the color for complete skill points.",
  34.     USPF_SETTINGS_COLOR_DESC_NOT_DONE = "Set the color for incomplete skill points.",
  35.    
  36.    
  37.     USPF_SETTINGS_SORT_TITLE = "Sort Option Settings",
  38.     USPF_SETTINGS_SORT_SQS = "Quest and Skyshard Sorting",
  39.     USPF_SETTINGS_SORT_SQS_DESC = "Set the sort order for the Storyline Quests and Skyshards table.",
  40.     USPF_SETTINGS_SORT_GDQ = "Group Dungeon Sorting",
  41.     USPF_SETTINGS_SORT_GDQ_DESC = "Set the sort order for the Group Dungeon Quests table.",
  42.     USPF_SETTINGS_SORT_PDB = "Public Dungeon Sorting",
  43.     USPF_SETTINGS_SORT_PDB_DESC = "Set the sort order for the Public Dungeon Group Boss Events table.",
  44.    
  45.    
  46.     USPF_GUI_CHAR_LEVEL = "Character Level",
  47.     USPF_GUI_MAIN_QUEST = "Main Quest",
  48.     USPF_GUI_MW_CHAR = "Morrowind Character",
  49.     USPF_GUI_AVA_RANK = "Alliance War Rank",
  50.     USPF_GUI_MAEL_ARENA = "Maelstrom Arena",
  51.    
  52.    
  53.     USPF_GUI_TITLE = "Urich's Skill Point Finder",
  54.    
  55.     USPF_GUI_GSP = "General Skill Points"
  56.     USPF_GUI_SQS = "Storyline Quests & Skyshards",
  57.     USPF_GUI_GDQ = "Group Dungeon Quests",
  58.     USPF_GUI_PDB = "Public Dungeon Group Boss Events",
  59.     USPF_GUI_SOURCE = "Source",
  60.     USPF_GUI_PROGRESS = "Progress",
  61.     USPF_GUI_ZONE = "Zone",
  62.     USPF_GUI_STORYLINE = "Storyline",
  63.     USPF_GUI_SKYSHARDS = "Skyshards",
  64.     USPF_GUI_DUNGEON_NAME = "Dungeon Name",
  65.    
  66.     USPF_GUI_TOTAL = "Total",
  67.     USPF_GUI_CHAR_TOTAL = "Character Total",
  68.    
  69.    
  70.     SI_BINDING_NAME_USPF_TOGGLE = "Show/Hide the USPF window.",
  71.    
  72.     USPF_GUI_ZN_AD0 = "Khenarthi's Roost",
  73.     USPF_GUI_ZN_AD1 = "Auridon",
  74.     USPF_GUI_ZN_AD2 = "Grahtwood",
  75.     USPF_GUI_ZN_AD3 = "Greenshade",
  76.     USPF_GUI_ZN_AD4 = "Malabal Tor",
  77.     USPF_GUI_ZN_AD5 = "Reaper's March",
  78.     USPF_GUI_ZN_DC0B = "Stros M'Kai",
  79.     USPF_GUI_ZN_DC0A = "Betnikh",
  80.     USPF_GUI_ZN_DC1 = "Glenumbra",
  81.     USPF_GUI_ZN_DC2 = "Stormhaven",
  82.     USPF_GUI_ZN_DC3 = "Rivenspire",
  83.     USPF_GUI_ZN_DC4 = "Alik'r Desert",
  84.     USPF_GUI_ZN_DC5 = "Bangkorai",
  85.     USPF_GUI_ZN_EP0B = "Bleakrock Isle",
  86.     USPF_GUI_ZN_EP0A = "Bal Foyen",
  87.     USPF_GUI_ZN_EP1 = "Stonefalls",
  88.     USPF_GUI_ZN_EP2 = "Deshaan",
  89.     USPF_GUI_ZN_EP3 = "Shadowfen",
  90.     USPF_GUI_ZN_EP4 = "Eastmarch",
  91.     USPF_GUI_ZN_EP5 = "The Rift",
  92.     USPF_GUI_ZN_CH = "Coldharbour",
  93.     USPF_GUI_ZN_CAD = "Cyrodiil AD",
  94.     USPF_GUI_ZN_CDC = "Cyrodiil DC",
  95.     USPF_GUI_ZN_CEP = "Cyrodiil EP",
  96.     USPF_GUI_ZN_CMT = "Cyrodiil Mountain",
  97.     USPF_GUI_ZN_LCL = "Lower Craglorn",
  98.     USPF_GUI_ZN_UCL = "Upper Craglorn",
  99.     USPF_GUI_ZN_IC = "Imperial City",
  100.     USPF_GUI_ZN_RO = "Wrothgar",
  101.     USPF_GUI_ZN_HB = "Hew's Bane",
  102.     USPF_GUI_ZN_GC = "Gold Coast",
  103.     USPF_GUI_ZN_VV = "Vvardenfell",
  104.     USPF_GUI_ZN_CC = "Clockwork City",
  105.  
  106.     USPF_GUI_GDN_BC1 = "Banished Cells I",
  107.     USPF_GUI_GDN_BC2 = "Banished Cells II",
  108.     USPF_GUI_GDN_EH1 = "Elden Hollow I",
  109.     USPF_GUI_GDN_EH2 = "Elden Hollow II",
  110.     USPF_GUI_GDN_CA1 = "City of Ash I",
  111.     USPF_GUI_GDN_CA2 = "City of Ash II",
  112.     USPF_GUI_GDN_TI = "Tempest Island",
  113.     USPF_GUI_GDN_SW = "Selene's Web",
  114.     USPF_GUI_GDN_SC1 = "Spindleclutch I",
  115.     USPF_GUI_GDN_SC2 = "Spindleclutch II",
  116.     USPF_GUI_GDN_WS1 = "Wayrest Sewers I",
  117.     USPF_GUI_GDN_WS2 = "Wayrest Sewers II",
  118.     USPF_GUI_GDN_CH1 = "Crypt of Hearts I",
  119.     USPF_GUI_GDN_CH2 = "Crypt of Hearts II",
  120.     USPF_GUI_GDN_VF = "Volenfell",
  121.     USPF_GUI_GDN_BH = "Blackheart Haven",
  122.     USPF_GUI_GDN_FG1 = "Fungal Grotto I",
  123.     USPF_GUI_GDN_FG2 = "Fungal Grotto II",
  124.     USPF_GUI_GDN_DC1 = "Darkshade Caverns I",
  125.     USPF_GUI_GDN_DC2 = "Darkshade Caverns II",
  126.     USPF_GUI_GDN_AC = "Arx Corinium",
  127.     USPF_GUI_GDN_DK = "Direfrost Keep",
  128.     USPF_GUI_GDN_BC = "Blessed Crucible",
  129.     USPF_GUI_GDN_VM = "Vaults of Madness",
  130.     USPF_GUI_GDN_ICP = "Imperial City Prison",
  131.     USPF_GUI_GDN_WGT = "White-Gold Tower",
  132.     USPF_GUI_GDN_CS = "Cradle of Shadows",
  133.     USPF_GUI_GDN_RM = "Ruins of Mazzatun",
  134.     USPF_GUI_GDN_BF = "Bloodroot Forge",
  135.     USPF_GUI_GDN_FH = "Falkreath Hold",
  136.  
  137.     USPF_GUI_PDN_AD1 = "Toothmaul Gully",
  138.     USPF_GUI_PDN_AD2 = "Root Sunder Ruins",
  139.     USPF_GUI_PDN_AD3 = "Rulanyil's Fall",
  140.     USPF_GUI_PDN_AD4 = "Crimson Cove",
  141.     USPF_GUI_PDN_AD5 = "The Vile Manse",
  142.     USPF_GUI_PDN_DC1 = "Bad Man's Hallows",
  143.     USPF_GUI_PDN_DC2 = "Bonesnap Ruins",
  144.     USPF_GUI_PDN_DC3 = "Obsidian Scar",
  145.     USPF_GUI_PDN_DC4 = "Lost City of the Na-Totambu",
  146.     USPF_GUI_PDN_DC5 = "Razak's Wheel",
  147.     USPF_GUI_PDN_EP1 = "Crow's Wood",
  148.     USPF_GUI_PDN_EP2 = "Forgotten Crypts",
  149.     USPF_GUI_PDN_EP3 = "Sanguine's Demense",
  150.     USPF_GUI_PDN_EP4 = "Hall of the Dead",
  151.     USPF_GUI_PDN_EP5 = "The Lion's Den",
  152.     USPF_GUI_PDN_CH = "Village of the Lost",
  153.     USPF_GUI_PDN_WOO = "Old Orsinium",
  154.     USPF_GUI_PDN_WRK = "Rkindaleft",
  155.     USPF_GUI_PDN_VFW = "Forgotten Wastes",
  156.     USPF_GUI_PDN_VNC = "Nchuleftingth",
  157. }
  Reply With Quote
01/26/18, 02:37 PM   #2
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
Code:
USPF_SETTINGS_FONT_TITLE = "Font Einstellungen",

USPF_SETTINGS_FONT_TITLE_HEADER = "Kopf/Fuß Font",
USPF_SETTINGS_FONT_TITLE_DESC = "Setze den Tabellen Kopf und Fuß Font.",

USPF_SETTINGS_FONT_GSP_TITLE = "Genereller Eigenschaftspunkt Font",
USPF_SETTINGS_FONT_GSP_ROWS = "Setze den Eigenschaftspunkt Tabellenzeilen Font.",

USPF_SETTINGS_FONT_SQS_TITLE = "Quests & Himmelsscherben Font",
USPF_SETTINGS_FONT_SQS_ROWS = "Setze den Zonen Quest & Himmelsscherben Tabellenzeilen Font.",

USPF_SETTINGS_FONT_GDQ_TITLE = "Gruppen Verliesquests Font",
USPF_SETTINGS_FONT_GDQ_ROWS = "Setze den Gruppenverlies Quest Tabellenzeilen Font.",

USPF_SETTINGS_FONT_PDB_TITLE = "Öffentliches Verlies Gruppenevent Font",
USPF_SETTINGS_FONT_PDB_ROWS = "Setze den öffentliches Verlies Gruppenherausforderung Event Tabellenzeilen Font.",

USPF_SETTINGS_RELOAD_WARNING = "Wird die Benutzeroberfläche neu laden müssen.",


USPF_SETTINGS_COLOR_TITLE = "Farb Einstellungen",
USPF_SETTINGS_COLOR_GSP_DONE = "Generell - Erledigt",
USPF_SETTINGS_COLOR_GSP_NOT_DONE = "Generell - Offen",
USPF_SETTINGS_COLOR_ZQ_DONE = "Zonenquests - Erledigt",
USPF_SETTINGS_COLOR_ZQ_NOT_DONE = "Zonenquests - Offen",
USPF_SETTINGS_COLOR_SS_DONE = "Himmelsscherben - Erledigt",
USPF_SETTINGS_COLOR_SS_NOT_DONE = "Himmelsscherben - Offen",
USPF_SETTINGS_COLOR_GDQ_DONE = "Gruppenverliese - Erledigt",
USPF_SETTINGS_COLOR_GDQ_NOT_DONE = "Gruppenverliese - Offen",
USPF_SETTINGS_COLOR_PDB_DONE = "Öffentliche Verliese - Erledigt",
USPF_SETTINGS_COLOR_PDB_NOT_DONE = "Öffentliche Verliese - Offen",
USPF_SETTINGS_COLOR_DESC_DONE = "Setzte Farbe für erledigte Eingenschaftspunkte.",
USPF_SETTINGS_COLOR_DESC_NOT_DONE = "Setzte Farbe für offene Eingenschaftspunkte.",


USPF_SETTINGS_SORT_TITLE = "Sortierung Einstellungen",
USPF_SETTINGS_SORT_SQS = "Quest und Himmelsscherben Sortierung",
USPF_SETTINGS_SORT_SQS_DESC = "Setze die Sorierreihenfolge für die Hauptgeschichte Quests und Himmelsscherben Tabelle.",
USPF_SETTINGS_SORT_GDQ = "Gruppenverliese Sortierung",
USPF_SETTINGS_SORT_GDQ_DESC = "Setze die Sorierreihenfolge für die Gruppenverliese Tabelle.",
USPF_SETTINGS_SORT_PDB = "Öffentliche Verliese Sortierung",
USPF_SETTINGS_SORT_PDB_DESC = "Setze die Sorierreihenfolge für die Öffentliche Verliese Tabelle.",


USPF_GUI_CHAR_LEVEL = "Charakter Level",
USPF_GUI_MAIN_QUEST = "Hauptqgeschichten Quest",
USPF_GUI_MW_CHAR = "Morrowind Charakter",
USPF_GUI_AVA_RANK = "Allianzkrieg Rang",
USPF_GUI_MAEL_ARENA = "Maelstrom Arena",


USPF_GUI_TITLE = "Urich's Skill Point Finder",

USPF_GUI_GSP = "Generelle Skill Points",
USPF_GUI_SQS = "Hauptqgeschichten Quests & Himmelsscherben",
USPF_GUI_GDQ = "Gruppenverliese Quests",
USPF_GUI_PDB = "Öffentliche Verliese Gruppenherausforderung Events",
USPF_GUI_SOURCE = "Quelle",
USPF_GUI_PROGRESS = "Fortschritt",
USPF_GUI_ZONE = "Zone",
USPF_GUI_STORYLINE = "Hauptgeschichte",
USPF_GUI_SKYSHARDS = "Himmelsscherben",
USPF_GUI_DUNGEON_NAME = "Verlies Name",

USPF_GUI_TOTAL = "Gesamt",
USPF_GUI_CHAR_TOTAL = "Charakter Gesamt",


SI_BINDING_NAME_USPF_TOGGLE = "Zeige/Verstecke USPF Fenster.",
Hey there, I won't translate the POI names, sorry. Check "my idea" below.

Just a hint:
You should conside reusing your translations in themselves, like creating one translation of "Skyshards" via functions
ZO_CreateStringId(USPF_SKYSHARDS, "Skyshard")
SafeAddVersion(USPF_SKYSHARDS, 1)
and then reuse it via the GetString(USPF_SKYSHARD) in the other translations. Same for each group dungeon, public dungeon, etc. redundancy.

And use ingame available localized string constants via GetString() which can be found here, instead of creating new translations which are all there: https://github.com/esoui/esoui/blob/...tedstrings.lua

An idea
For the different POIs (delves, dungeons, etc.) you can switch the client to another language via chat command, e.g. German:
Code:
SetCVar("language.2", "de")
Available languages would be
en, fr, de, jp and others.

And then open the map, move the mouse over the poi and see the text. You can then use function
Lua Code:
  1. ZO_WorldMapMouseoverName:GetText()
to get the text.

Checking this addon's code (http://www.esoui.com/downloads/info4...KeepNames.html) you could prehook the function "ZO_MapPin.TOOLTIP_CREATORS[MAP_PIN_TYPE_POI_SEEN].creator(pin, ...)" and then use the code above to save the names to your savedvars.

You could use the zoneId of the zone and the poiIndex as array keys like the addon does:
Lua Code:
  1. local poiIndex = pin:GetPOIIndex()
  2.         local zoneId = GetZoneId(pin:GetPOIZoneIndex())

Last edited by Baertram : 01/26/18 at 02:54 PM.
  Reply With Quote

ESOUI » Developer Discussions » Translation Help » Urich's Skill Point Finder Translations [Any]

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