Download
(14 MB)
Download
Updated: 03/17/24 12:18 AM
Pictures
File Info
Compatibility:
Scions of Ithelia (9.3.0)
Endless Archive (9.2.5)
base-game patch (9.1.5)
Necrom (9.0.0)
Scribes of Fate (8.3.5)
Firesong (8.2.5)
Lost Depths (8.1.5)
High Isle (8.0.0)
Updated:03/17/24 12:18 AM
Created:06/09/20 07:45 PM
Monthly downloads:5,646
Total downloads:433,330
Favorites:48
MD5:
Categories:Libraries, ESO Tools & Utilities
9.3.0
LibMultilingualName  Popular! (More than 5000 hits)
Version: 1.2.29
by: Shinntarou [More]
InGame-Name-Data files for languages.(en, de, fr, jp, ru, es), and PowerShell script file that build them from your ESO client.
Please choose languages what you need at in-game "ADD-ONS" menu.

Your client's current language of the LIB for the language is required in a few cases.
(It means if you are English player, please activate LibMultilingual_en at least.)

The Lib is a simple huge LUA table files created by dump data from EsoExtractData.
You can create and update dump files manually using setup.ps1 in the lib directory.

Get**** methods just only to get from the table.
Search**** methods have own data processing.
Correctness of these results are not guaranteed, especially Search**** methods.

methods overview

ItemName
SetItemName
SkillName(abilityName)
AbilityDescription
QuestName
QuestTaskName
ZoneName
SetItemIDtoAbilityID (not dumped data. manually created and tweaked.)

usage

The LIB has two interface pattern.

1. GetRaw****Name(langCode, id)

it simply return "gamedata/**.csv"'s value as-is including special chars.

Code:
[44955]="pauldron^p",[44956]="sabatons^p",
if NotFound, parameter is Invalid, then return bool false.

2. Get****Name(langCode, id)

(I wish) it return formatted value depending on what value it is.

Code:
    local name = LIB.GetRawItemName(langCode, id)
    if name then
        return ZO_CachedStrFormat("<<C:1>>", name)
    else 
        return "NotFound. Lang Code ".. langCode .. " Id " .. id
    end
If NotFound etc, then return some strings by any means possible.

3. SearchSetItemBonus(langCode, id, itemLink): string description, bool isMatched

!!! BETA

1. the AddOn search abilities which has same name as the set gears. (It's \Raw\SetItemIdToAbilityIds.lua)
2. itemLink has a correct description.(but, It's in your current langCode)
3. SearchMethod compares 1 with 2. if matched, then return the matched abilities.
4. if not matched, SearchMethod return all abilities (= 1), and also return itMatched is FALSE as secound returned value.


Powershell Scripts

setup.ps1

For addon developers and players having fair knowledge of PowerShell.
This one build up all GetRaw****_**.lua files.
please read console message so it is a dialogue script.

fakeLang.ps1

to create ESO user-defined language code(files) from existing lang code.
a user-defined lang code can be used in game.
e.g) /script SetCVar('language.2','ja')

addonLangFilesReproducer.ps1

to copy new langFiles from your existing add-ons.
e.g) if there is a file Addons/SomeAddon/en.lua , the batch reproduce Addons/SomeAddon/jp.lua from en.lua.


external libaries

# EsoExtractData
# @see https://www.esoui.com/downloads/info1258-EsoExtractData.html

# ESO - Japanese Localization (reference data)
# @see https://www.esoui.com/downloads/info2154-ESO-JapaneseLocalization.html
v1.2.29
update for 2024-03-13? sorry for being late

v1.2.28
update for 2024-02-13

v1.2.27
update for 2023-11-06

v1.2.26
update for 2023-08-22

v1.2.25
update for 2023-06-06(Necrom)

v1.2.24
update for 2023-04-23

v1.2.23
update for 2023-03-14

v1.2.22
update for 2023-01-26

v1.2.21
update for 2022-12-20
update for 2022-11-15

v1.2.20
update for 2022-11-14

v1.2.19
update for 2022-11-03

v1.2.18
update for 2022-10-03

v1.2.17
update for 2022-09-20

v1.2.16
update for 2022-08-23

v1.2.15
update for 2022-07-06

v1.2.14
update for 2022-06-20

v1.2.13
Spanish

v1.2.12
update for High Isle

v1.2.11
update for 2022-04-11

v1.2.10
update for 2022-03-28

v1.2.9
update for 2022-03-14

v1.2.8
update for 2022-01-28

v1.2.7
update for 2021-12-07

v1.2.6
bugfix for NameLanguageNinja

v1.2.5
bugfix: skill description of Sithis'Touch
bugfix: skill description of Rattlecage

v1.2.4
update for 2021-11-15

v1.2.3
update for 7.2.5 : Deadlands
bugfix related set bonus

v1.2.2
add variables for version control

v1.2.1
Fix for Pollox's daily quest tracker

v1.2.0
Now you can choose language packs you need. Please choose languages what you need at in-game "ADD-ONS" menu.
Optional Files (0)


Archived Files (57)
File Name
Version
Size
Uploader
Date
1.2.28
13MB
Shinntarou
02/13/24 11:24 PM
1.2.27
13MB
Shinntarou
11/06/23 06:46 PM
1.2.26
13MB
Shinntarou
08/24/23 11:51 AM
1.2.25
13MB
Shinntarou
06/06/23 11:48 AM
1.2.24
12MB
Shinntarou
04/25/23 12:59 AM
1.2.23
12MB
Shinntarou
03/14/23 03:26 PM
1.2.22
12MB
Shinntarou
01/26/23 05:32 AM
1.2.21
12MB
Shinntarou
12/20/22 05:32 AM
1.2.20.1
12MB
Shinntarou
11/15/22 04:06 PM
1.2.19
12MB
Shinntarou
11/02/22 09:35 PM
1.2.18
12MB
Shinntarou
10/03/22 08:13 PM
1.2.17
12MB
Shinntarou
09/20/22 01:59 AM
1.2.16
12MB
Shinntarou
08/22/22 02:22 PM
1.2.15
12MB
Shinntarou
07/06/22 09:04 AM
1.2.14
12MB
Shinntarou
06/20/22 09:44 AM
1.2.13
12MB
Shinntarou
06/12/22 12:51 AM
1.2.12
10MB
Shinntarou
06/06/22 08:36 PM
1.2.11
10MB
Shinntarou
04/11/22 01:19 PM
1.2.10
10MB
Shinntarou
03/28/22 06:17 AM
1.2.9
10MB
Shinntarou
03/14/22 06:56 PM
1.2.8
10MB
Shinntarou
01/27/22 04:55 PM
1.2.7
10MB
Shinntarou
12/07/21 09:35 AM
1.2.6
10MB
Shinntarou
11/21/21 02:56 AM
1.2.5
10MB
Shinntarou
11/19/21 01:39 AM
1.2.4
10MB
Shinntarou
11/15/21 12:16 PM
1.2.3
10MB
Shinntarou
11/01/21 11:12 AM
1.2.2
10MB
Shinntarou
10/28/21 07:40 AM
1.2.1
10MB
Shinntarou
10/19/21 03:45 PM
1.2.0
10MB
Shinntarou
10/15/21 03:01 PM
1.1.5
10MB
Shinntarou
10/04/21 10:46 PM
1.1.4
10MB
Shinntarou
09/20/21 07:57 PM
1.1.3
10MB
Shinntarou
09/18/21 02:56 AM
1.1.2
10MB
Shinntarou
09/17/21 04:46 PM
1.1.1
10MB
Shinntarou
09/17/21 07:08 AM
1.1.0
10MB
Shinntarou
09/07/21 02:32 PM
1.0.22
9MB
Shinntarou
08/23/21 02:30 PM
1.0.21
9MB
Shinntarou
07/30/21 02:18 AM
1.0.20
9MB
Shinntarou
07/12/21 04:27 PM
1.0.19
9MB
Shinntarou
06/28/21 08:19 AM
1.0.18
9MB
Shinntarou
06/08/21 11:22 AM
1.0.17
8MB
Shinntarou
05/04/21 02:27 AM
1.0.16
8MB
Shinntarou
04/07/21 10:00 PM
1.0.15
8MB
Shinntarou
04/03/21 10:57 AM
1.0.14
8MB
Shinntarou
03/08/21 12:16 PM
1.0.13
8MB
Shinntarou
01/27/21 12:56 AM
1.0.12
8MB
Shinntarou
11/17/20 01:48 AM
1.0.11
8MB
Shinntarou
11/03/20 03:37 AM
1.0.10
8MB
Shinntarou
10/06/20 11:23 PM
1.0.9
8MB
Shinntarou
09/21/20 07:41 PM
1.0.8
8MB
Shinntarou
09/09/20 06:21 AM
1.0.7
8MB
Shinntarou
08/24/20 03:17 PM
1.0.6
8MB
Shinntarou
07/13/20 09:43 AM
1.0.5
8MB
Shinntarou
06/29/20 05:31 PM
1.0.4
8MB
Shinntarou
06/11/20 02:06 PM
1.0.3
5MB
Shinntarou
06/10/20 04:34 AM
1.0.1
5MB
Shinntarou
06/10/20 01:47 AM
1.0.0
5MB
06/09/20 07:45 PM


Post A Reply Comment Options
Unread 06/09/20, 09:38 PM  
Shinntarou
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 40
Uploads: 3
Originally Posted by Dolgubon
You should change the language files to use tables instead. For example for the first few items:

local itemNames = {
[70]= "jambières tannées en kwama^pf" ,
[139]= "sangle lombaire de la tisseuse^f" ,
[144]= "jambières de l'apprenti^pf" ,
[148]= "solerets de piétineur de galopins^pm" ,
[219]= "gants du sommelier^pm" ,
[238]= "chaussures^pf" ,
[251]= "hache de bataille^f" ,
[317]= "solerets de la garde du Lion de l'arbre du Wyrd^pm" ,
[471]= "bastion du dragon de la Sangrépine^m" ,
[479]= "culotte de porcher^f" ,
[521]= "chêne brut^ms" ,
[533]= "chêne poncé^ms" ,
[685]= "bâton de guérison de Gabrielle^m" ,
[793]= "lanières de peau brute^pf" ,
[794]= "peau brute^fs" ,
[800]= "lanières de peau superbe^f" ,
[802]= "érable brut^ms" ,
[803]= "érable poncé^ms" ,
[808]= "minerai de fer^m" ,
}


Then, the actual function becomes this:
function LibMultilingualName.GetItemName_fr(itemId)

if itemNames[itemId] then
return itemNames[itemId]
end
return "NotFound fr"
end


One benefit of this is that tables in Lua are hash tables, so it'll make the function run much faster - rather than doing thousands of comparisons it's just doing a table lookup
Also, it's shorter and imo looks nicer
Thank you for reviewing. the unerring Talos.

in first edition, I once used LUA table. the reason was exactly what you pointed at.
I thought... "5M memory each lang? ESO always loads those tables even for non-using languages? ... I try to change to IF mechanics and count on GC."
but, It was confirmed that there is no big difference when I play.

next version, Probably I will replace the bad code.
thanks.
Report comment to moderator  
Reply With Quote
Unread 06/09/20, 08:29 PM  
Dolgubon
 
Dolgubon's Avatar
AddOn Author - Click to view AddOns

Forum posts: 409
File comments: 892
Uploads: 21
You should change the language files to use tables instead. For example for the first few items:

local itemNames = {
[70]= "jambières tannées en kwama^pf" ,
[139]= "sangle lombaire de la tisseuse^f" ,
[144]= "jambières de l'apprenti^pf" ,
[148]= "solerets de piétineur de galopins^pm" ,
[219]= "gants du sommelier^pm" ,
[238]= "chaussures^pf" ,
[251]= "hache de bataille^f" ,
[317]= "solerets de la garde du Lion de l'arbre du Wyrd^pm" ,
[471]= "bastion du dragon de la Sangrépine^m" ,
[479]= "culotte de porcher^f" ,
[521]= "chêne brut^ms" ,
[533]= "chêne poncé^ms" ,
[685]= "bâton de guérison de Gabrielle^m" ,
[793]= "lanières de peau brute^pf" ,
[794]= "peau brute^fs" ,
[800]= "lanières de peau superbe^f" ,
[802]= "érable brut^ms" ,
[803]= "érable poncé^ms" ,
[808]= "minerai de fer^m" ,
}


Then, the actual function becomes this:
function LibMultilingualName.GetItemName_fr(itemId)

if itemNames[itemId] then
return itemNames[itemId]
end
return "NotFound fr"
end


One benefit of this is that tables in Lua are hash tables, so it'll make the function run much faster - rather than doing thousands of comparisons it's just doing a table lookup
Also, it's shorter and imo looks nicer
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: