Quantcast
Download
(25 Kb)
Download
Updated: 08/24/20 09:50 AM
Pictures
File Info
Compatibility:
Stonethorn (6.1.5)
Updated:08/24/20 09:50 AM
Created:05/21/14 12:42 PM
Monthly downloads:1,036
Total downloads:41,437
Favorites:60
MD5:
Categories:Map, Coords, Compasses, PvP, ToolTip
6.1.5
English POI and Keep Names  Popular! (More than 5000 hits)
Version: 7.5.3
by: Garkin, Ayantir, hatsune681
Simple addon that will display english names for points of interest and keeps if you play in the different language:
Text colors and format of tooltips can be configured in the SETTINGS -> Addons Settings -> English POI Names menu. Or just use slash command /poi.

Points of interest:

Keep tooltips in Cyrodiil:


Note: numbers are only visibles when "contribute" is set to true in data files




Thanks to:
Phidias for german localization.
Zuhligan for french localization.
v7.5.3 (Hatsune681)
- Update API
- Added Shiromi-fry keep POIs

v7.5.2 (Hatsune681)
- removed deprecated LibStub call

v7.5 (Hatsune681)
- API Update
- removed Libaddonmenu-2.0 now it's needed as many other addons
- Static data now in separate files
- "Contribute" boolean set in each data file to see numbers for untranslated places if you want to help adding new english names
- Added Wayshrine hook
- No big changes in structures, compatability should remain the same
- Need help to add Russian language

v6 (Ayantir)
- API & Lib Update
- Added Clockwork City pins

v5 (Ayantir)
- API & Lib Update
- Added few pins (mainly housing & dungeons mode II names).

v4 (Ayantir)
- API & Lib Update

v3 (Ayantir)
- API & Lib Update
- Few data reworks due to One Tamriel update

v2 (Ayantir)
- Added Imperial City Districts, Cyrodiils towns & Shadowfen dungeons
- API Update
- LibAddonMenu library update

v1 (Ayantir)
- Added Gold Coast pins
- API Update
- LibAddonMenu library update

v0.9 (Ayantir)
- Added Hew's Bane pins
- API Update
- LibAddonMenu library update

v0.8.0 (Ayantir)
- Added Wrothgar pins
- API Update

v0.7.0
- updated API version to 100012 (Update 7)
- updated LibAddonMenu-2.0 (r18)
- updated LibStub (r4)

v0.6.6
- updated API version to 100011 (Update 6)
- updated LibAddonMenu-2.0 (r17)

v0.6.5
- updated API version to 100010 (Update 5)
- updated LibAddonMenu-2.0 (r16)

v0.6.4
- updated API version to 100009 (Update 4)

v0.6.3
- added german translation (thanks to Phidias)

v0.6.2
- updated API version to 100008 (Update 3)
- updated LibAddonMenu-2.0 (r14)

v0.6.1
- updated LibStub (r2) and LibAddonMenu-2.0 (r13) libraries

v0.6
- updated API version
- updated zone ID's
- updated LibAddonMenu-2.0

v0.5.1
- updated LibAddonMenu library

v0.5
- changed settings menu to use LibAddonMenu-2.0 library
- added french translation (thanks to Zuhligan)

v0.4
- fixed bug where keep tooltips wasn't correctly updated
- added settings menu
- added license (MIT)

v0.3.1
- added missing "Western Elsweyr Gate" name

v0.3
- added Craglorn POI names
- added missing keep names

v0.2.2
- updated API version

v0.2.1
- fixed overflowing text on keep tooltips

v0.2
- added english names to keep tooltips

v0.1
- initial release
Optional Files (0)


Archived Files (27)
File Name
Version
Size
Uploader
Date
7.5.2
25kB
hatsune681
06/23/20 09:55 AM
7.5
25kB
hatsune681
05/29/20 02:01 PM
6
63kB
Ayantir
11/04/17 07:42 AM
5
62kB
Ayantir
07/23/17 06:51 AM
4
60kB
Ayantir
05/31/17 01:56 PM
3
56kB
Ayantir
10/05/16 09:23 PM
2
54kB
Ayantir
07/31/16 11:08 AM
1
58kB
Ayantir
05/29/16 02:53 AM
0.9
53kB
Ayantir
03/07/16 12:30 PM
0.8.0
52kB
Ayantir
11/02/15 08:19 AM
0.7.0
52kB
Garkin
08/31/15 09:19 AM
0.6.6
45kB
Garkin
03/03/15 08:12 AM
0.6.5
42kB
Garkin
11/03/14 10:28 AM
0.6.4
41kB
Garkin
09/16/14 10:37 AM
0.6.3
41kB
Garkin
08/07/14 08:27 AM
0.6.2
41kB
Garkin
08/05/14 10:10 AM
0.6.1
40kB
Garkin
07/21/14 11:46 AM
0.6
39kB
Garkin
06/25/14 08:20 AM
0.5.1
39kB
Garkin
06/15/14 05:44 AM
0.5
38kB
Garkin
06/13/14 05:31 AM
0.4
20kB
Garkin
05/25/14 03:17 PM
0.3.1
13kB
Garkin
05/24/14 11:26 AM
0.3
13kB
Garkin
05/23/14 09:04 PM
0.2.2
12kB
Garkin
05/23/14 06:38 AM
0.2.1
12kB
Garkin
05/21/14 05:52 PM
0.2
12kB
Garkin
05/21/14 05:25 PM
0.1
11kB
05/21/14 12:42 PM


Post A Reply Comment Options
Unread 08/24/20, 09:54 AM  
hatsune681
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 18
Uploads: 2
Originally Posted by Gamer1986PAN
Will this addon receive an update for western skyrim/greymoor as well? Especially the harrowstorms would be great.
I'm really sorry, I quite don't play ESO at the moment.
Report comment to moderator  
Reply With Quote
Unread 07/14/20, 09:33 AM  
Gamer1986PAN
AddOn Author - Click to view AddOns

Forum posts: 84
File comments: 503
Uploads: 2
Will this addon receive an update for western skyrim/greymoor as well? Especially the harrowstorms would be great.
__________________
Co-Author of the Addon BeamMeUp - feel free to check it out.


BankManagerRevived Slim Edition
- changed profiles to accountwide in order to have better performance with BMR and added 4 different global addon profiles for better overview -
most of the working mechancis are created from the original BMR authors - credits to orignal authors
Last edited by Gamer1986PAN : 07/14/20 at 02:49 PM.
Report comment to moderator  
Reply With Quote
Unread 06/01/20, 01:25 PM  
@DeadSoon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 158
Uploads: 2
THANK YOU

Thank you hatsune681 for your work! It is so great, that this good old addon received an update.
__________________
Author of the Addon BeamMeUp - feel free to check it out
Report comment to moderator  
Reply With Quote
Unread 05/30/20, 02:25 AM  
Shiromi-fry

Forum posts: 0
File comments: 11
Uploads: 0
Please add lines to Keep_Names.lua
Code:
	[163] = "Winter's Peak Outpost",
	[164] = "Carmala Outpost",
	[165] = "Harlun's Outpost",
Report comment to moderator  
Reply With Quote
Unread 05/24/20, 04:33 PM  
hatsune681
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 18
Uploads: 2
Re: Re: Re: Re: Need update, Dungeons aren't any more translated

Originally Posted by @DeadSoon
Originally Posted by hatsune681
I reorganized the code and added some hooks in local copy. This work nicely since the two latest API updates. I can send the code but I don't want to be the maintainer of this package (static data is locally completely separated from main code for clarity, I won't put the whole files in a comment)
Maybe you want to share your modified version here via link?

Maybe the original author (Garkin) want to catch up your work you have done to merge it to an official update
I cannot share the whole text it in comments, because :

Code:
11/09/2019  18:29         <REP>    Language
04/11/2017  15:38          56 615  EnglishPOINames.old
12/11/2019  12:04          11 221  EnglishPOINames.lua
24/02/2020  18:33             714  EnglishPOINames.txt
12/11/2019  12:06           3 870  Keep_Names.lua
02/03/2020  15:15          37 422  POI_Names.lua
02/03/2020  14:17          13 432  Shrine_Names.lua
I would have to put the whole text...

in short, in EnglishPOINames.lua, I put all static data in separated files, modified HookPoiTooltips() :
Code:
local function HookPoiTooltips()
	local function AddEnglishName(pin)
		local poiIndex = pin:GetPOIIndex()
		local zoneId = GetZoneId(pin:GetPOIZoneIndex())
--		local locString = ""
--		if englishPOINames[zoneId] then
--			local englishName = englishPOINames[zoneId][poiIndex]
--			if englishName then
--				local localizedName = ZO_WorldMapMouseoverName:GetText()
--				ZO_WorldMapMouseoverName:SetText(zo_strformat("<<1>>\n<<2>>", localizedName, POI_COLOR:Colorize(englishName)))
--			end
--		end
--		replacement to see numbers instead of nothing
		local localizedName = ZO_WorldMapMouseoverName:GetText()
		local englishName = getEnglishPOIName(zoneId, poiIndex)
		local locString = zo_strformat("<<1>>\n<<2>>", localizedName, POI_COLOR:Colorize(englishName))
		ZO_WorldMapMouseoverName:SetText(locString)
	end
	--hooks
	local CreatorPOISeen = ZO_MapPin.TOOLTIP_CREATORS[MAP_PIN_TYPE_POI_SEEN].creator
	ZO_MapPin.TOOLTIP_CREATORS[MAP_PIN_TYPE_POI_SEEN].creator = function(...)
		CreatorPOISeen(...) --original tooltip creator
		AddEnglishName(...)
	end
	local CreatorPOIComplete = ZO_MapPin.TOOLTIP_CREATORS[MAP_PIN_TYPE_POI_COMPLETE].creator
	ZO_MapPin.TOOLTIP_CREATORS[MAP_PIN_TYPE_POI_COMPLETE].creator = function(...)
		CreatorPOIComplete(...) --original tooltip creator
		AddEnglishName(...)
	end
end

-- imitating previous hook but this time for WayShrines
local function hookWayShrineTootltips()
	local function addWayShrineName(pin)
		local localizedName = ZO_WorldMapMouseoverName:GetText()
		local nodeIndex = pin:GetFastTravelNodeIndex()
		local englishName = getEnglishShrineName(nodeIndex)
		local locString = zo_strformat("<<1>>\n<<2>>", localizedName, POI_COLOR:Colorize(englishName))
		ZO_WorldMapMouseoverName:SetText(locString)
	end

	local creatorFTWS = ZO_MapPin.TOOLTIP_CREATORS[MAP_PIN_TYPE_FAST_TRAVEL_WAYSHRINE].creator
	ZO_MapPin.TOOLTIP_CREATORS[MAP_PIN_TYPE_FAST_TRAVEL_WAYSHRINE].creator = function(...)
		creatorFTWS(...)--inherited constructor
		addWayShrineName(...)
	end

	-- Hacking [MAP_PIN_TYPE_FAST_TRAVEL_WAYSHRINE_CURRENT_LOC].creator
	-- seems to be useless as previous one already does the job
end
in HookKeepTooltips() I changed (name normalization) a line
Code:
--		local englishKeepName = EnglishKeepName(keepId)
		local englishKeepName = getEnglishKeepName(keepId)
added a line :
Code:
		HookPoiTooltips()
		HookKeepTooltips()
-- this line is new :
		hookWayShrineTootltips()
		CreateAddonMenu()
		OnGamepadPreferredModeChanged()
Keep_Names.lua starts like this :
Code:
--[[
--
--  Keep Names
--
--
--]]
local englishKeepNames = {
is followed by all data and ends with :
Code:
function getEnglishKeepName(l_Index)
	return englishKeepNames[l_Index] or l_Index 
end
Same for POI_Names.lua which ends with :
Code:
function getEnglishPOIName(l_Zone, l_Index)
	if englishPOINames[l_Zone] then
		return englishPOINames[l_Zone][l_Index] or l_Zone .. ":" .. l_Index
	end
	return l_Zone .. ":" .. l_Index
end
Same for Shrine_Names.lua :
Code:
function getEnglishShrineName(l_Index)
	return englishShrineNames[l_Index] or l_Index
end
All places I have the name but not the number are commented in data files. I thought about adding a "debug/contribute" setting to show numbers or not but as I'm currently the only one who uses this version, I was too lazy to code it

Notes :
my naming convention is to always start non constant identifiers by a low case character
I have a local addon which adds /l2fr /l2en /l2de macros to fast switch between languages (minimum memory usage, no cpu/gpu usage) as I play in "VOST", it's handy to get english names when I see numbers on the map. (I still have not visited so many places)

Of course if this is helpful, I'll gladly send all the zip file to the author as this addon is too useful to be lost

Regards

Edit : I don't know where to put the zip file as I don't have any anonymous permanent cloud
Last edited by hatsune681 : 05/24/20 at 04:42 PM.
Report comment to moderator  
Reply With Quote
Unread 05/22/20, 06:36 AM  
@DeadSoon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 158
Uploads: 2
Re: Re: Re: Need update, Dungeons aren't any more translated

Originally Posted by hatsune681
I reorganized the code and added some hooks in local copy. This work nicely since the two latest API updates. I can send the code but I don't want to be the maintainer of this package (static data is locally completely separated from main code for clarity, I won't put the whole files in a comment)
Maybe you want to share your modified version here via link?

Maybe the original author (Garkin) want to catch up your work you have done to merge it to an official update
__________________
Author of the Addon BeamMeUp - feel free to check it out
Report comment to moderator  
Reply With Quote
Unread 05/01/20, 05:49 AM  
p6kocka

Forum posts: 19
File comments: 76
Uploads: 0
Re: Re: Re: Need update, Dungeons aren't any more translated

Originally Posted by hatsune681
Originally Posted by hatsune681
"so much work, so little time"
I reorganized the code and added some hooks in local copy. This work nicely since the two latest API updates. I can send the code but I don't want to be the maintainer of this package (static data is locally completely separated from main code for clarity, I won't put the whole files in a comment)
Hi, could you send me the codes pls? I would like to use this addon, but it isn┤t showing the translation for the latest dlcs. Thank you
Report comment to moderator  
Reply With Quote
Unread 04/08/20, 03:23 AM  
hatsune681
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 18
Uploads: 2
Re: Re: Need update, Dungeons aren't any more translated

Originally Posted by hatsune681
"so much work, so little time"
I reorganized the code and added some hooks in local copy. This work nicely since the two latest API updates. I can send the code but I don't want to be the maintainer of this package (static data is locally completely separated from main code for clarity, I won't put the whole files in a comment)
Report comment to moderator  
Reply With Quote
Unread 09/19/19, 03:22 AM  
hatsune681
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 18
Uploads: 2
Re: Need update, Dungeons aren't any more translated

"replying to myself" to add informations :
Having an old character with completed dungeons and new ones with just discovered dungeons, I've seen that the hooks no longer work when dungeons are completed.

In esoapi, I may have found some information at function CreateSinglePOIPin(zoneIndex, poiIndex) :
-- Seen Wayshines are POIs, discovered Wayshrines are handled by AddWayshrines()
-- Request was made by design to have houses and dungeons behave like wayshrines.
AddWayshrines() is an event called function line 6450 for OnFastTravelBegin and OnFastTravelEnd events

"so much work, so little time"
Report comment to moderator  
Reply With Quote
Unread 09/18/19, 09:29 AM  
hatsune681
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 18
Uploads: 2
Need update, Dungeons aren't any more translated

Hello,

I locally modified the addon a bit to add missing entries and saw that dungeons are no longer translated even with original code (I just added "show indexes when strings are not defined" )
They might have been changed to FastTravelWayShrine type but I don't know how to find the new pin type atm.

regards
Report comment to moderator  
Reply With Quote
Unread 10/02/18, 07:21 AM  
@DeadSoon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 158
Uploads: 2
Still supported?

Is this Addon still supported? Will we get an update for Summerset & Murkmire?
Especially for the map bosses it is so useful
Report comment to moderator  
Reply With Quote
Unread 11/02/15, 11:07 AM  
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1022
File comments: 1553
Uploads: 31
Re: Armor name

Originally Posted by D-Tull
Hi, Good job.

But can you make it happen for the armor and de weapon to?
Sorry but no, items are automatically translated when using the Link to chat feature and there is a fctor of 50x in items compared to POI in difficulty to get them and in quantity.
__________________
Obsessive Compulsive Coder

My little french Guild: Cercle de l'Eveil
Report comment to moderator  
Reply With Quote
Unread 11/02/15, 10:26 AM  
D-Tull

Forum posts: 0
File comments: 2
Uploads: 0
Armor name

Hi, Good job.

But can you make it happen for the armor and de weapon to?
Report comment to moderator  
Reply With Quote
Unread 05/20/15, 08:03 AM  
Zuhligan

Forum posts: 1
File comments: 15
Uploads: 0
Hello garkin, there is a small issue :

in EnglishPOINames.txt you have to replace all Libs\LibAddonMenu\ by Libs\LibAddonMenu-2.0\
Report comment to moderator  
Reply With Quote
Unread 05/25/14, 03:19 PM  
Garkin
 
Garkin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 853
File comments: 1120
Uploads: 33
Originally Posted by Zuhligan
...

Maybe due to the refresh of something?
Exactly, I had to take care of refresh function. Fixed in version 0.4.
By the way I have added settings, so you do not need edit souce files to change text color.
__________________
@Garkin (retired from ESO)
My addons: SkyShards, LoreBooks, Dustman, Map Coordinates, No, thank you!, ... (full list)
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: