Quantcast
Download
(7 Kb)
Download
Updated: 03/13/20 11:15 PM
Pictures
File Info
Updated:03/13/20 11:15 PM
Created:05/11/17 04:11 AM
Monthly downloads:336
Total downloads:9,588
Favorites:12
MD5:
TxtOutput  Popular! (More than 5000 hits)
Version: 1.4.3
by: jellyalex978 [More]
What is TxtOutput ?
My mother language is not English
i need google translate a lot of book , quest ... balabala
this addon will output the text to the editorbox
you can ctrl + c and ctrl + v to google translate

==============================

How to manually install
Download and Extract the files to your ESO AddOn folder
PC: C:\Users\< username >\Documents\Elder Scrolls Online\live\AddOns\
Mac: ~/Documents/Elder Scrolls Online/live/AddOns/

==============================

This addon uses the following libraries:
  • LibStub
  • LibAddonMenu-2.0

thanks for all the help by
@manavortex @Rhyono @AbyssVanos @AbyssVanos @hacker725x
Addon - eso_zh
idea from github.com/esozh/eso_zh
1.4.3
update Lib LibAddonMenu2

1.4.2
change api version

1.4.1
fix autoselect bug

1.4.0
remove lib file , please install lib LibAddonMenu-2.0
add auto select all text option

1.3.2 update api version

1.3.1 Subtitle will show on output windows
channge setting
cancel stupid status icon

1.2.1 Subtitle will show on Chat

1.1.2 change APIversion , nothing change XD

1.1.1 change APIversion

1.1.0 fix bug when read book from bag

1.0.6 add setting page , you can hide icon when auto show off

1.0.5 fix pop bug

1.0.4 add quest log event
Optional Files (0)


Archived Files (13)
File Name
Version
Size
Uploader
Date
1.4.2
7kB
jellyalex978
02/20/20 09:53 PM
1.4.1
7kB
jellyalex978
03/04/19 06:23 AM
1.4.0
7kB
jellyalex978
02/23/19 06:46 PM
1.3.2
49kB
jellyalex978
11/20/18 11:33 PM
1.3.1
49kB
jellyalex978
06/19/18 02:31 AM
1.2.2
49kB
jellyalex978
06/16/18 01:54 PM
1.1.2
49kB
jellyalex978
06/04/18 06:18 AM
1.1.1
49kB
jellyalex978
05/24/17 06:49 PM
1.1.0
49kB
jellyalex978
05/23/17 08:56 AM
1.0.6
49kB
jellyalex978
05/13/17 01:29 AM
1.0.5
6kB
jellyalex978
05/12/17 07:32 AM
1.0.4
6kB
jellyalex978
05/11/17 08:58 AM
1.0.3
6kB
05/11/17 04:11 AM


Post A Reply Comment Options
Unread 02/21/20, 01:20 PM  
jellyalex978
 
jellyalex978's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 53
Uploads: 4
Originally Posted by Baertram
Bridges to solve this =
1. Save the whole text in your SavedVariables of the addon.
2. Do a reloadui to write the SavedVariables from internal tables to the text files in your SavedVariabls folder
3. Read the SavedVariables/TxTOutput.lua file with any parsing program and send the data to the webservice to translate it.
4. After getting the translated files you could write the translated files in the same SavedVariables/TextOutput.lua file BUT you need to assure that it is written to a table name inside which is NEVER manipulated by your addon! You can e.g. use a table TxtOutPut_Translated and access this tbale in the lua code with it's name. But never add it to the SavedVariables of your addon internaly in the lua or it will be overwritten each time a reloadui/zone change/logout will happen and your translated data is lost.
5. After that you need a reloadui again to read the table from the SavedVariables into the global _G["TxtOutPut_Translated"] namespace and being able to access it's data.

I'd rather add a keybind to your addon to show the text window at whatever time you want to show it. Keep all texts of the current session in there (until reloadui e.g. or even write them to the SavedVariables but be sure to NOT write ALL text to the SV as the file wil get WAAAY to big and loading the game will get very slow then).
The text shown inside the text window could then be send via a button to a website like google translator by using the API function "RequestOpenUnsafeURL(url)"

thank you for teach , but i have not learn how to build c# app or python app
so ... i think i can't do it XD

and someone has create a addon , use my mother language
so ... lazy to add more function into TxtOutput XD
forget me plz



Report comment to moderator  
Reply With Quote
Unread 02/21/20, 05:55 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2710
File comments: 3242
Uploads: 57
Bridges to solve this =
1. Save the whole text in your SavedVariables of the addon.
2. Do a reloadui to write the SavedVariables from internal tables to the text files in your SavedVariabls folder
3. Read the SavedVariables/TxTOutput.lua file with any parsing program and send the data to the webservice to translate it.
4. After getting the translated files you could write the translated files in the same SavedVariables/TextOutput.lua file BUT you need to assure that it is written to a table name inside which is NEVER manipulated by your addon! You can e.g. use a table TxtOutPut_Translated and access this tbale in the lua code with it's name. But never add it to the SavedVariables of your addon internaly in the lua or it will be overwritten each time a reloadui/zone change/logout will happen and your translated data is lost.
5. After that you need a reloadui again to read the table from the SavedVariables into the global _G["TxtOutPut_Translated"] namespace and being able to access it's data.

I'd rather add a keybind to your addon to show the text window at whatever time you want to show it. Keep all texts of the current session in there (until reloadui e.g. or even write them to the SavedVariables but be sure to NOT write ALL text to the SV as the file wil get WAAAY to big and loading the game will get very slow then).
The text shown inside the text window could then be send via a button to a website like google translator by using the API function "RequestOpenUnsafeURL(url)"

Originally Posted by Micke2nd
Hi Alex,
google translate is a webservice which u can use without the webpage.
That means, you could translate the text automated, without copy paste need. The ESO inside Lua Engine cant talk to a webservice, but there are bridges to solve that.
Last edited by Baertram : 02/21/20 at 05:56 AM.
Report comment to moderator  
Reply With Quote
Unread 02/23/19, 10:25 PM  
jellyalex978
 
jellyalex978's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 53
Uploads: 4
Re: Font for Czech people

Originally Posted by Vircz
Hello,

Ist possible to activate font which support czech letter like ě č ř? We have really hard language, and many of my friend doesnt speak english. I tryed some fonts but none enable this letters.

Thank you, Lukas
hi Vircz , font need ESO support , i can't help install font or auto translate
if i can , i will do chinese first XD
because i doesnt speak english too
Report comment to moderator  
Reply With Quote
Unread 02/23/19, 10:22 PM  
jellyalex978
 
jellyalex978's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 53
Uploads: 4
Re: thank you, thank you, thank you

Originally Posted by ray75228
jelly, thank you so much for this addon. i'm a contributor to uesp.net and this has allowed me to document sooo many lines of dialogue effortlessly. this is brilliant.

is there a way to pull up the text window manually? i have it set to capture subtitles, and sometimes i don't get a chance to copy that text before a key press or event closes the window. if there isn't currently, could you add a hotkey for it?
hi ray , i can't pull up the text by myself
i catch the event when ESO UI on change
so , i have no idea the book id or npc talk id or...

and thank you to update a lot of data to uesp.net
thank you thank you thank you thank you tooooooooo
XD
Report comment to moderator  
Reply With Quote
Unread 02/06/19, 01:32 PM  
Vircz

Forum posts: 0
File comments: 1
Uploads: 0
Font for Czech people

Hello,

Ist possible to activate font which support czech letter like ě č ř? We have really hard language, and many of my friend doesnt speak english. I tryed some fonts but none enable this letters.

Thank you, Lukas
Last edited by Vircz : 02/07/19 at 07:26 AM.
Report comment to moderator  
Reply With Quote
Unread 11/21/18, 07:18 PM  
ray75228

Forum posts: 0
File comments: 1
Uploads: 0
thank you, thank you, thank you

jelly, thank you so much for this addon. i'm a contributor to uesp.net and this has allowed me to document sooo many lines of dialogue effortlessly. this is brilliant.

is there a way to pull up the text window manually? i have it set to capture subtitles, and sometimes i don't get a chance to copy that text before a key press or event closes the window. if there isn't currently, could you add a hotkey for it?
Report comment to moderator  
Reply With Quote
Unread 06/18/18, 10:16 AM  
jellyalex978
 
jellyalex978's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 53
Uploads: 4
Originally Posted by Micke2nd
Hi Alex,
google translate is a webservice which u can use without the webpage.
That means, you could translate the text automated, without copy paste need. The ESO inside Lua Engine cant talk to a webservice, but there are bridges to solve that.
hi !
i know how to use google API

but i am LUA newby
can you show me some demo or eso document ???
thank you for help
Report comment to moderator  
Reply With Quote
Unread 06/17/18, 01:05 AM  
Micke2nd
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 61
Uploads: 1
** edit: my hint was wrong . **
Last edited by Micke2nd : 02/21/20 at 12:08 AM.
Report comment to moderator  
Reply With Quote
Unread 05/12/17, 11:41 PM  
jellyalex978
 
jellyalex978's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 53
Uploads: 4
Originally Posted by cosh
Hey!
Can u please remove "empty book" icon, which appears when "auto on/off" keybind pressed? It is a little distractive
i will think about it

Originally Posted by cosh
Also Is it possible to add function for auto-copy text to clipboad when dialog changes? Some ppl (like me) too lazy for selecting text and pressing ctrl-c.
thanks Rhyono help answer it
Report comment to moderator  
Reply With Quote
Unread 05/12/17, 02:52 PM  
Rhyono
AddOn Author - Click to view AddOns

Forum posts: 606
File comments: 1185
Uploads: 19
Originally Posted by cosh
Also Is it possible to add function for auto-copy text to clipboad when dialog changes?
That functionality was removed from the API some while back.
Report comment to moderator  
Reply With Quote
Unread 05/12/17, 01:02 PM  
cosh
 
cosh's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 28
Uploads: 1
Hey!
Can u please remove "empty book" icon, which appears when "auto on/off" keybind pressed? It is a little distractive
Also Is it possible to add function for auto-copy text to clipboad when dialog changes? Some ppl (like me) too lazy for selecting text and pressing ctrl-c.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: