Translations for card actions/effects
Opened this issue · 7 comments
I just wanted to know whether there is a possibility to provide translations for the str1
to str16
fields from the texts
table.
in theory it is feasible, but it would take a source
What kind of source do you have in mind? I thought it might be possible to change the SQLite database in this repository and then retain the data in str1
through str16
for each card.
yes it's possible or get it from file in other depot
I've thought about this and I think it would be best practice to create a new SQLite database file which only contains a table with the structure of the table texts
and it will only hold the cards which have translations for str1
through str16
. The columns name
and desc
can be empty since you get these from the wiki. What do you think about that? On another note: would you want to create a repository for this or should I create one myself?
for now the translator works like this :
- download Ignis depot
- download this repot
- get trad from api ( API contains the data retrieved from the wiki )
- delete all *.cdb in this depot
- copy cdb file from ignis to this
- open each cdb file and apply the translatte to the card
i can load data from a SQLite database, the easyest, i think is to create one db for each trad with contain table with card name and every str, with that i can add data in same time we get data from api
If you want you can create the depot, I have no problem with that
If I got that right, this means you match the cards by name instead of the id/passcode?
No for translatte i use id and sometime name, some card have multi id/passcode but same text, one for each edition/image