Quantcast MoneyWhere Translation Help - ESOUI
Thread Tools Display Modes
07/19/19, 10:53 AM   #1
Dawnsight
AddOn Author - Click to view addons
Join Date: May 2019
Posts: 2
MoneyWhere Translation Help

First, big thanx to all of you who do translations. It is really appreciated.

The MoneyWhere addon tracks how currency (Gold, Telvar, Alliance Points) are earned and spent. Experience is also tracked. It puts them into categories to see where the money is coming from and going to.

It's like accounting and there are some accounting terms like Income, Expense, Net and Ledger.

I'm adding language support so any help would be appreciated.

Lua Code:
  1. ZO_CreateStringId("SI_MONEYWHERE_TOTALS", "Totals")
  2. ZO_CreateStringId("SI_MONEYWHERE_BANK", "Bank")
  3. ZO_CreateStringId("SI_MONEYWHERE_LOOT", "Loot") -- from creatures killed and open world chests
  4. ZO_CreateStringId("SI_MONEYWHERE_REWARD", "Reward") -- quest completion
  5. ZO_CreateStringId("SI_MONEYWHERE_ACTIVITY", "Activity") -- completing Dolemans or killing a dragon
  6. ZO_CreateStringId("SI_MONEYWHERE_PVP_REWARD", "PVP")
  7. ZO_CreateStringId("SI_MONEYWHERE_VENDOR", "Vendor") -- merchants
  8. ZO_CreateStringId("SI_MONEYWHERE_TRADE_HOUSE", "Guild") -- trade guilds, kiosks
  9. ZO_CreateStringId("SI_MONEYWHERE_COSTS", "Costs/Fees") -- cost for armor repair or teleporting
  10. ZO_CreateStringId("SI_MONEYWHERE_JUSTICE", "Justice") -- pickpocket
  11. ZO_CreateStringId("SI_MONEYWHERE_MAIL", "Mail") -- in game mail
  12. ZO_CreateStringId("SI_MONEYWHERE_OTHER", "Other")
  13.  
  14. ZO_CreateStringId("SI_MONEYWHERE_CURRENCY_GOLD", "Gold")
  15. ZO_CreateStringId("SI_MONEYWHERE_CURRENCY_ALLIANCEPOINTS", "Alliance Points")
  16. ZO_CreateStringId("SI_MONEYWHERE_CURRENCY_TELVAR", "Telvar")
  17. ZO_CreateStringId("SI_MONEYWHERE_EXPERIENCE", "Expereience")
  18.  
  19. ZO_CreateStringId("SI_MONEYWHERE_TRANSACTION_INCOME", "Income")
  20. ZO_CreateStringId("SI_MONEYWHERE_TRANSACTION_EXPENSE", "Expenses")
  21. ZO_CreateStringId("SI_MONEYWHERE_TRANSACTION_NET", "Net") -- The difference between Income and Expense
  22.  
  23. ZO_CreateStringId("SI_MONEYWHERE_EXTOTALS", "Totals")
  24. ZO_CreateStringId("SI_MONEYWHERE_EXDISCOVERY", "Discovery") -- finding a new point of interest
  25. ZO_CreateStringId("SI_MONEYWHERE_EXKILL", "Kill")
  26. ZO_CreateStringId("SI_MONEYWHERE_EXREWARD", "Reward") -- quest reward
  27. ZO_CreateStringId("SI_MONEYWHERE_EXACTIVITY", "Activity") -- completing Dolemans or killing a dragon
  28. ZO_CreateStringId("SI_MONEYWHERE_EXPVP", "PVP")
  29. ZO_CreateStringId("SI_MONEYWHERE_EXSKILLBOOK", "Skill Book")
  30. ZO_CreateStringId("SI_MONEYWHERE_EXTRADESKILL", "Trade Skill")
  31. ZO_CreateStringId("SI_MONEYWHERE_EXACHIEVEMENT", "Achieve") -- earning an achievement like Dungeon Vanquisher
  32. ZO_CreateStringId("SI_MONEYWHERE_EXJUSTICE", "Justice")
  33. ZO_CreateStringId("SI_MONEYWHERE_EXBOOK", "Book") -- learning a new motiff
  34. ZO_CreateStringId("SI_MONEYWHERE_EXOTHER", "Other")
  35.  
  36. ZO_CreateStringId("SI_MONEYWHERE_WHERE_DID_MY_MONEY_GO", "Where did my money go")
  37. ZO_CreateStringId("SI_MONEYWHERE_DATA_FOR_WHERE_DESCRIP", "This is the data for where you money is going")
  38. ZO_CreateStringId("SI_MONEYWHERE_LOAD_LEDGER_ON_INIT", "Load Ledger on Initialization")
  39. ZO_CreateStringId("SI_MONEYWHERE_LOAD_LEDGER_DESCRIP", "Check to load save transaction values when character loads")
  40. ZO_CreateStringId("SI_MONEYWHERE_TRACK_GOLD", "Track Gold")
  41. ZO_CreateStringId("SI_MONEYWHERE_TRACK_GOLD_DESCRIP", "Check to track gold transactions.")
  42. ZO_CreateStringId("SI_MONEYWHERE_TRACK_APOINTS", "Track Alliance Points")
  43. ZO_CreateStringId("SI_MONEYWHERE_TRACK_APOINTS_DESCRIP", "Check to track Alliance Points transactions.")
  44. ZO_CreateStringId("SI_MONEYWHERE_TRACK_TELVAR", "Track Telvar")
  45. ZO_CreateStringId("SI_MONEYWHERE_TRACK_TELVAR_DESCRIP", "Check to track Telvar transactions.")
  46. ZO_CreateStringId("SI_MONEYWHERE_TRACK_EXP", "Track Experience")
  47. ZO_CreateStringId("SI_MONEYWHERE_TRACK_EXP_DESCRIP", "Check to track Experience Sources.")
  48. ZO_CreateStringId("SI_MONEYWHERE_TRACK_RATE", "Track Rate")
  49. ZO_CreateStringId("SI_MONEYWHERE_TRACK_RATE_DESCRIP", "Check to track rates of income.")
  50. ZO_CreateStringId("SI_MONEYWHERE_MINUTES_TRACKED", "Minutes Tracked")
  51. ZO_CreateStringId("SI_MONEYWHERE_MINUTES_TRACKED_DESCRIP", "Number of minutes used to calculate rate.")
  52. ZO_CreateStringId("SI_MONEYWHERE_NEED_TO_RELOAD_UI", "Will need to reload the UI.")
  53.  
  54. ZO_CreateStringId("SI_MONEYWHERE_BANKED", "Banked")
  55. ZO_CreateStringId("SI_MONEYWHERE_POCKETS", "Pockets")
  56. ZO_CreateStringId("SI_MONEYWHERE_XP_CURRENT", "XP Cur") -- short for "Current Experience"
  57. ZO_CreateStringId("SI_MONEYWHERE_XP_GOAL", "Goal")
  58. ZO_CreateStringId("SI_MONEYWHERE_XP_NEED", "Need")
  59. ZO_CreateStringId("SI_MONEYWHERE_RATE_FOR_X_MIN", "Rate for %d Minutes") -- Rate = How fast, the %d is where the number of minutes will go
__________________
It's always darkest...
  Reply With Quote
07/19/19, 12:39 PM   #2
Baertram
 
Baertram's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 2,293
Just a hint about existing translation ingame:
https://github.com/esoui/esoui/blob/...tedstrings.lua

You should use them for strings like tel var, trade skill, justice via GetString(SI_JUSTICE...) instead of redefining them in your addon. Makes translations easier
  Reply With Quote
07/19/19, 10:47 PM   #3
Dawnsight
AddOn Author - Click to view addons
Join Date: May 2019
Posts: 2
So after using the strings that I could from ZOS, these are the one that would still need translations. While some of the words are parts of other phrases, I'm not sure how it would work in another language.

I am so surprised that "Kills" was not there. I will also look into 'rephrasing' so I can use more common terms.

Thanx

Lua Code:
  1. ZO_CreateStringId("SI_MONEYWHERE_COSTS", "Costs/Fees") -- Fees for repairs and teleporting
  2.  
  3. ZO_CreateStringId("SI_MONEYWHERE_TRANSACTION_INCOME", "Income") --
  4. ZO_CreateStringId("SI_MONEYWHERE_TRANSACTION_EXPENSE", "Expenses") --
  5. ZO_CreateStringId("SI_MONEYWHERE_TRANSACTION_NET", "Net") -- The difference between Income and Expense
  6.  
  7. ZO_CreateStringId("SI_MONEYWHERE_EXDISCOVERY", "Discovery") -- finding a new point of interest
  8. ZO_CreateStringId("SI_MONEYWHERE_EXKILL", "Kills") --
  9. ZO_CreateStringId("SI_MONEYWHERE_EXSKILLBOOK", "Skill Book") --
  10. ZO_CreateStringId("SI_MONEYWHERE_EXTRADESKILL", "Trade Skill") --
  11. ZO_CreateStringId("SI_MONEYWHERE_EXACHIEVEMENT", "Achieve") -- earning an achievement like Dungeon Vanquisher
  12.  
  13. ZO_CreateStringId("SI_MONEYWHERE_LOAD_LEDGER_ON_INIT", "Load Ledger on Initialization")
  14. ZO_CreateStringId("SI_MONEYWHERE_LOAD_LEDGER_DESCRIP", "Check to load save transaction values when character loads")
  15. ZO_CreateStringId("SI_MONEYWHERE_TRACK_GOLD", "Track Gold") -- record gold income and spending
  16. ZO_CreateStringId("SI_MONEYWHERE_TRACK_GOLD_DESCRIP", "Check to track gold transactions.")
  17. ZO_CreateStringId("SI_MONEYWHERE_TRACK_APOINTS", "Track Alliance Points")
  18. ZO_CreateStringId("SI_MONEYWHERE_TRACK_APOINTS_DESCRIP", "Check to track Alliance Points transactions.")
  19. ZO_CreateStringId("SI_MONEYWHERE_TRACK_TELVAR", "Track Tel Var")
  20. ZO_CreateStringId("SI_MONEYWHERE_TRACK_TELVAR_DESCRIP", "Check to track Tel Var transactions.")
  21. ZO_CreateStringId("SI_MONEYWHERE_TRACK_EXP", "Track Experience") -- record Experience earned
  22. ZO_CreateStringId("SI_MONEYWHERE_TRACK_EXP_DESCRIP", "Check to track Experience Sources.")
  23. ZO_CreateStringId("SI_MONEYWHERE_TRACK_RATE", "Track Rate") -- record how fast currencies change
  24. ZO_CreateStringId("SI_MONEYWHERE_TRACK_RATE_DESCRIP", "Check to track rates of income.")
  25. ZO_CreateStringId("SI_MONEYWHERE_MINUTES_TRACKED", "Minutes Tracked")
  26. ZO_CreateStringId("SI_MONEYWHERE_MINUTES_TRACKED_DESCRIP", "Number of minutes used to calculate rate.")
  27. ZO_CreateStringId("SI_MONEYWHERE_NEED_TO_RELOAD_UI", "Will need to reload the UI.")
  28.  
  29. ZO_CreateStringId("SI_MONEYWHERE_XP_NEED", "Need")
  30. ZO_CreateStringId("SI_MONEYWHERE_RATE_FOR_X_MIN", "Rate for %d Minutes") -- Rate = How fast, the %d is where the number of minutes will go
__________________
It's always darkest...
  Reply With Quote
07/21/19, 06:12 AM   #4
Baertram
 
Baertram's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 2,293
Idea for the english strings, easier to add and automatically create them + exchanged some strings with SI_ ESO strings (like alliance points, telVar, experience):
Lua Code:
  1. --English base Strings
  2. local stringsEN = {
  3.     [SI_MONEYWHERE_COSTS] = "Costs/Fees", -- Fees for repairs and teleporting
  4.  
  5.     [SI_MONEYWHERE_TRANSACTION_INCOME] = "Income", --
  6.     [SI_MONEYWHERE_TRANSACTION_EXPENSE] = "Expenses", --
  7.     [SI_MONEYWHERE_TRANSACTION_NET] = "Net", -- The difference between Income and Expense
  8.  
  9.     [SI_MONEYWHERE_EXDISCOVERY] = "Discovery", -- finding a new point of interest
  10.     [SI_MONEYWHERE_EXKILL] = "Kills", --
  11.     [SI_MONEYWHERE_EXSKILLBOOK] = "Skill Book", --
  12.     [SI_MONEYWHERE_EXTRADESKILL] = "Trade Skill", --
  13.     [SI_MONEYWHERE_EXACHIEVEMENT] = "Achieve", -- earning an achievement like Dungeon Vanquisher
  14.  
  15.     [SI_MONEYWHERE_LOAD_LEDGER_ON_INIT] = "Load Ledger on Initialization",
  16.     [SI_MONEYWHERE_LOAD_LEDGER_DESCRIP] = "Check to load save transaction values when character loads",
  17.     [SI_MONEYWHERE_TRACK_GOLD] = "Track Gold", -- record gold income and spending
  18.     [SI_MONEYWHERE_TRACK_GOLD_DESCRIP] = "Check to track gold transactions.",
  19.     [SI_MONEYWHERE_TRACK_APOINTS] = "Track " .. GetString(SI_CHATCHANNELCATEGORIES48),
  20.     [SI_MONEYWHERE_TRACK_APOINTS_DESCRIP] = "Check to track " ..  GetString(SI_CHATCHANNELCATEGORIES48) .." transactions.",
  21.     [SI_MONEYWHERE_TRACK_TELVAR] = "Track " .. GetString(SI_CHATCHANNELCATEGORIES46),
  22.     [SI_MONEYWHERE_TRACK_TELVAR_DESCRIP] = "Check to track ".. GetString(SI_CHATCHANNELCATEGORIES46).." transactions.",
  23.     [SI_MONEYWHERE_TRACK_EXP] = "Track " .. GetString(SI_CHATCHANNELCATEGORIES45), -- record Experience earned
  24.     [SI_MONEYWHERE_TRACK_EXP_DESCRIP] = "Check to track " .. GetString(SI_CHATCHANNELCATEGORIES45) .. "Sources.",
  25.     [SI_MONEYWHERE_TRACK_RATE] = "Track Rate", -- record how fast currencies change
  26.     [SI_MONEYWHERE_TRACK_RATE_DESCRIP] = "Check to track rates of income.",
  27.     [SI_MONEYWHERE_MINUTES_TRACKED] = "Minutes Tracked",
  28.     [SI_MONEYWHERE_MINUTES_TRACKED_DESCRIP] = "Number of minutes used to calculate rate.",
  29.     [SI_MONEYWHERE_NEED_TO_RELOAD_UI] = "Will need to reload the UI.",
  30.  
  31.     [SI_MONEYWHERE_XP_NEED] = "Need",
  32.     [SI_MONEYWHERE_RATE_FOR_X_MIN] = "Rate for %d Minutes", -- Rate = How fast, the %d is where the number of minutes will go
  33. }
  34. for stringId, stringContent in pairs(stringsEN) do
  35.     ZO_CreateStringId(ZO_CreateStringId(stringId, stringContent)
  36.     SafeAddVersion(stringId, 1)
  37. end


And the German DE Strings will be updated this way then:
Lua Code:
  1. --German Strings
  2. local stringsDE = {
  3.     [SI_MONEYWHERE_COSTS] = "Kosten/Gebühren", -- Fees for repairs and teleporting
  4.  
  5.     [SI_MONEYWHERE_TRANSACTION_INCOME] = "Einkommen", --
  6.     [SI_MONEYWHERE_TRANSACTION_EXPENSE] = "Ausgaben", --
  7.     [SI_MONEYWHERE_TRANSACTION_NET] = "Netto", -- The difference between Income and Expense
  8.  
  9.     [SI_MONEYWHERE_EXDISCOVERY] = "Entdeckung", -- finding a new point of interest
  10.     [SI_MONEYWHERE_EXKILL] = "Tötungen", --
  11.     [SI_MONEYWHERE_EXSKILLBOOK] = "Fertigkeiten Buch", --
  12.     [SI_MONEYWHERE_EXTRADESKILL] = "Handwerk", --
  13.     [SI_MONEYWHERE_EXACHIEVEMENT] = "Errungenschaft", -- earning an achievement like Dungeon Vanquisher
  14.  
  15.     [SI_MONEYWHERE_LOAD_LEDGER_ON_INIT] = "Lade Hauptbuch beim Starten",
  16.     [SI_MONEYWHERE_LOAD_LEDGER_DESCRIP] = "Aktivieren, um die gesicherten Transaktionen beim Laden des Charakter zu sammeln",
  17.     [SI_MONEYWHERE_TRACK_GOLD] = "Verfolge Gold", -- record gold income and spending
  18.     [SI_MONEYWHERE_TRACK_GOLD_DESCRIP] = "Aktivieren, um die Gold Transaktionen zu sammeln.",
  19.     [SI_MONEYWHERE_TRACK_APOINTS] = "Verfolge " .. GetString(SI_CHATCHANNELCATEGORIES48),
  20.     [SI_MONEYWHERE_TRACK_APOINTS_DESCRIP] = "Aktivieren, um Transaktionen mit "  .. GetString(SI_CHATCHANNELCATEGORIES48) .. " zu sammeln.",
  21.     [SI_MONEYWHERE_TRACK_TELVAR] = "Verfolge " .. GetString(SI_CHATCHANNELCATEGORIES46),
  22.     [SI_MONEYWHERE_TRACK_TELVAR_DESCRIP] = "Aktivieren, um Transaktionen mit ".. GetString(SI_CHATCHANNELCATEGORIES46).." zu sammeln.",
  23.     [SI_MONEYWHERE_TRACK_EXP] = "Verfolge ".. GetString(SI_CHATCHANNELCATEGORIES45), -- record Experience earned
  24.     [SI_MONEYWHERE_TRACK_EXP_DESCRIP] = "Aktivieren, um Transaktionen aus " .. GetString(SI_CHATCHANNELCATEGORIES45) .. " Quellen zu sammeln.",
  25.     [SI_MONEYWHERE_TRACK_RATE] = "Verfolge Rate", -- record how fast currencies change
  26.     [SI_MONEYWHERE_TRACK_RATE_DESCRIP] = "Aktivieren, um die Rate (wie schnell verändert sich das Einkommen) des Einkommens zu verfolgen.",
  27.     [SI_MONEYWHERE_MINUTES_TRACKED] = "Minuten für Rate",
  28.     [SI_MONEYWHERE_MINUTES_TRACKED_DESCRIP] = "Anzahl der Minuten welche für die Berechnung der Rate verwendet werden.",
  29.     [SI_MONEYWHERE_NEED_TO_RELOAD_UI] = "Hierfür muss die Benutzeroberfläche (UI) neugeladen werden!",
  30.  
  31.     [SI_MONEYWHERE_XP_NEED] = "Benötigt",
  32.     [SI_MONEYWHERE_RATE_FOR_X_MIN] = "Rate für %d Minuten", -- Rate = How fast, the %d is where the number of minutes will go
  33. }
  34. for stringId, stringContent in pairs(stringsDE) do
  35.     SafeAddVersion(stringId, 1)
  36. end


Hint:
You do not need this text in your LAM panel:
SI_MONEYWHERE_NEED_TO_RELOAD_UI

Just enable the requiresReload=true, tag at your control (checkbox, dropdown, etc.) and LAM will automatically show the reload needed hint + a button to reload the UI if this setting got changed!

Last edited by Baertram : 07/21/19 at 06:31 AM.
  Reply With Quote

ESOUI » Developer Discussions » Translation Help » MoneyWhere Translation Help

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