Your Ad could be here.
Donate to support DoTA forum and Launcher development.

"Merge Data" is not working well?

Here you can report bugs, errors and other issues with Launcher.
User avatar
Eklypse
Newbie
Newbie
Posts: 8
Joined: Wed 2017.02.08, 15:21
Honor: 0
Points: 44.70
BDO: Warrior
Gender: Male
Contact:

"Merge Data" is not working well?

Postby Eklypse » Fri 2017.03.10, 07:31

I translated the file "<_x007E_Name>Soldier</_x007E_Name>" into "<_x007E_Name>Soldado</_x007E_Name>" (english to spanish) but when I try to merge data with the new file, loading base XML and translation XML, the file merged lose the translation. I don't know if I'm done something wrong or is a problem with the Launcher, maybe don't merge "<_x007E_Name>--</_x007E_Name>" entries.

Can you help me?

Thank you in advance.
¡Fuerza y honor!

Online
User avatar
KAMIKADzE
KAMIKADzE
KAMIKADzE
Blood Mage
Blood Mage
Posts: 3672
Joined: Thu 1998.01.01, 00:00
Honor: 3102
Points: 2423438202.90
BDO: Blader
Cabal: BL
Vindictus: Lann
C9: Blade Dancer
Gender: Male
Karma: 神風
: Assassin Black Star Winged Devotion Dedication Heavy 1st 20 HR BDO JP Volunteer BDO KR Translator BDO JP Translator BDO RU Translator Black Spirit inside Black Spirit's Partner
Medals: 17
Contact:

Re: "Merge Data" is not working well?

Postby KAMIKADzE » Fri 2017.03.10, 16:05

Eklypse wrote:I translated the file "<_x007E_Name>Soldier</_x007E_Name>" into "<_x007E_Name>Soldado</_x007E_Name>" (english to spanish) but when I try to merge data with the new file, loading base XML and translation XML, the file merged lose the translation. I don't know if I'm done something wrong or is a problem with the Launcher, maybe don't merge "<_x007E_Name>--</_x007E_Name>" entries.

Can you help me?

Thank you in advance.

There are a couple of reasons why this might happen.
1) You should load your file with "Soldado" as a translation. Do you?
2) Check out your Scheme and make sure that it contains the table and columns where your "Soldado" resides.
3) If 1 and 2 are fine, provide more info, like what version of the Launcher you're using, Exact table and column where this happens, and provide your Scheme for that table.



User avatar
Eklypse
Newbie
Newbie
Posts: 8
Joined: Wed 2017.02.08, 15:21
Honor: 0
Points: 44.70
BDO: Warrior
Gender: Male
Contact:

Re: "Merge Data" is not working well?

Postby Eklypse » Sat 2017.03.11, 07:44

I load the "raw" obtained file as "Base XML" and then the file with "Soldado" text as "Translation XML". So I suppose that the answer for your first question is yes...

About the Scheme, I'm using the default one and I think that it's all OK.

I'm using the last version of Launcher (I didn't find the version number, sorry) and here is one of the entries I translated:

<Character_Table>
<_x0023__x005E_Index>617</_x0023__x005E_Index>
<_x0023__x007E_DisplayName>병사</_x0023__x007E_DisplayName>
<_x0023__x007E_CharacterTitle>&lt;null&gt;</_x0023__x007E_CharacterTitle>
<_x005E_Index>617</_x005E_Index>
<_x007E_DisplayName>Soldado</_x007E_DisplayName>
<_x007E_CharacterTitle>&lt;null&gt;</_x007E_CharacterTitle>
</Character_Table>


And in the scheme "Default.sc" I see this:

"Character_Table": {
"Keys": {
"Index": "^Index"
},
"Values": {
"CharName": "~CharName",
"DisplayName": "~DisplayName",
"CharacterTitle": "~CharacterTitle"
},
"Actions": {
"AllowNullKeys": false
}


Is that correct? Thank you for your help.
¡Fuerza y honor!

Online
User avatar
KAMIKADzE
KAMIKADzE
KAMIKADzE
Blood Mage
Blood Mage
Posts: 3672
Joined: Thu 1998.01.01, 00:00
Honor: 3102
Points: 2423438202.90
BDO: Blader
Cabal: BL
Vindictus: Lann
C9: Blade Dancer
Gender: Male
Karma: 神風
: Assassin Black Star Winged Devotion Dedication Heavy 1st 20 HR BDO JP Volunteer BDO KR Translator BDO JP Translator BDO RU Translator Black Spirit inside Black Spirit's Partner
Medals: 17
Contact:

Re: "Merge Data" is not working well?

Postby KAMIKADzE » Sat 2017.03.11, 08:58

Eklypse wrote:I load the "raw" obtained file as "Base XML" and then the file with "Soldado" text as "Translation XML". So I suppose that the answer for your first question is yes...

About the Scheme, I'm using the default one and I think that it's all OK.

I'm using the last version of Launcher (I didn't find the version number, sorry) and here is one of the entries I translated:

<Character_Table>
<_x0023__x005E_Index>617</_x0023__x005E_Index>
<_x0023__x007E_DisplayName>병사</_x0023__x007E_DisplayName>
<_x0023__x007E_CharacterTitle>&lt;null&gt;</_x0023__x007E_CharacterTitle>
<_x005E_Index>617</_x005E_Index>
<_x007E_DisplayName>Soldado</_x007E_DisplayName>
<_x007E_CharacterTitle>&lt;null&gt;</_x007E_CharacterTitle>
</Character_Table>


And in the scheme "Default.sc" I see this:

"Character_Table": {
"Keys": {
"Index": "^Index"
},
"Values": {
"CharName": "~CharName",
"DisplayName": "~DisplayName",
"CharacterTitle": "~CharacterTitle"
},
"Actions": {
"AllowNullKeys": false
}


Is that correct? Thank you for your help.

The first thing I noticed immediately is that in your file "CharName" is missing even though that it is present in Scheme, not even to mention the supplementary Korean columns, so you're clearly using one of the official languagedata files as a base for your translation, but that should not cause any issues.
You do know that the result will be located in "BDO\out", right? (asking just in case), if yes then:
Send me your Base xml file, Translation xml file and the result found in "BDO\out", name them accordingly "base", "translation", "result", I'll take a look on why things happen as they do on my end.



User avatar
Eklypse
Newbie
Newbie
Posts: 8
Joined: Wed 2017.02.08, 15:21
Honor: 0
Points: 44.70
BDO: Warrior
Gender: Male
Contact:

Re: "Merge Data" is not working well?

Postby Eklypse » Sat 2017.03.11, 16:19

Well, I don't know how to send you the files, so I'll put them here:

Thank you again for your help ;)
Last edited by KAMIKADzE on Sat 2017.03.11, 16:23, edited 1 time in total.
Reason: Downloaded and removed link. I'll take a look at it a bit later.
¡Fuerza y honor!

Online
User avatar
KAMIKADzE
KAMIKADzE
KAMIKADzE
Blood Mage
Blood Mage
Posts: 3672
Joined: Thu 1998.01.01, 00:00
Honor: 3102
Points: 2423438202.90
BDO: Blader
Cabal: BL
Vindictus: Lann
C9: Blade Dancer
Gender: Male
Karma: 神風
: Assassin Black Star Winged Devotion Dedication Heavy 1st 20 HR BDO JP Volunteer BDO KR Translator BDO JP Translator BDO RU Translator Black Spirit inside Black Spirit's Partner
Medals: 17
Contact:

Re: "Merge Data" is not working well?

Postby KAMIKADzE » Sat 2017.03.11, 16:47

Eklypse wrote:Well, I don't know how to send you the files, so I'll put them here:

Thank you again for your help ;)

Well...your sent files:
1)Base (Soldier):

Code: Select all

<Character_Table>
    <_x0023__x005E_Index>617</_x0023__x005E_Index>
    <_x0023__x007E_DisplayName>병사</_x0023__x007E_DisplayName>
    <_x0023__x007E_CharacterTitle>&lt;null&gt;</_x0023__x007E_CharacterTitle>
    <_x005E_Index>617</_x005E_Index>
    <_x007E_DisplayName>Soldier</_x007E_DisplayName>
    <_x007E_CharacterTitle>&lt;null&gt;</_x007E_CharacterTitle>
  </Character_Table>

2)Translation (Soldado):

Code: Select all

<Character_Table>
    <_x0023__x005E_Index>617</_x0023__x005E_Index>
    <_x0023__x007E_DisplayName>병사</_x0023__x007E_DisplayName>
    <_x0023__x007E_CharacterTitle>&lt;null&gt;</_x0023__x007E_CharacterTitle>
    <_x005E_Index>617</_x005E_Index>
    <_x007E_DisplayName>Soldado</_x007E_DisplayName>
    <_x007E_CharacterTitle>&lt;null&gt;</_x007E_CharacterTitle>
  </Character_Table>

3)Result (Soldado):

Code: Select all

  <Character_Table>
    <_x0023__x005E_Index>617</_x0023__x005E_Index>
    <_x0023__x007E_DisplayName>병사</_x0023__x007E_DisplayName>
    <_x0023__x007E_CharacterTitle>&lt;null&gt;</_x0023__x007E_CharacterTitle>
    <_x005E_Index>617</_x005E_Index>
    <_x007E_DisplayName>Soldado</_x007E_DisplayName>
    <_x007E_CharacterTitle>&lt;null&gt;</_x007E_CharacterTitle>
  </Character_Table>


Just in case you've sent the wrong file, I've merged it myself (Soldado):

Code: Select all

<Character_Table>
    <_x0023__x005E_Index>617</_x0023__x005E_Index>
    <_x0023__x007E_DisplayName>병사</_x0023__x007E_DisplayName>
    <_x0023__x007E_CharacterTitle>&lt;null&gt;</_x0023__x007E_CharacterTitle>
    <_x005E_Index>617</_x005E_Index>
    <_x007E_DisplayName>Soldado</_x007E_DisplayName>
    <_x007E_CharacterTitle>&lt;null&gt;</_x007E_CharacterTitle>
  </Character_Table>

So neither I can reproduce your problem, nor you (as it seems) *SHADE*



User avatar
Eklypse
Newbie
Newbie
Posts: 8
Joined: Wed 2017.02.08, 15:21
Honor: 0
Points: 44.70
BDO: Warrior
Gender: Male
Contact:

Re: "Merge Data" is not working well?

Postby Eklypse » Sat 2017.03.11, 17:02

I was looking into this entry:

<_x007E_Name>Soldier</_x007E_Name>

This entry is the one that lose translation.
¡Fuerza y honor!

Online
User avatar
KAMIKADzE
KAMIKADzE
KAMIKADzE
Blood Mage
Blood Mage
Posts: 3672
Joined: Thu 1998.01.01, 00:00
Honor: 3102
Points: 2423438202.90
BDO: Blader
Cabal: BL
Vindictus: Lann
C9: Blade Dancer
Gender: Male
Karma: 神風
: Assassin Black Star Winged Devotion Dedication Heavy 1st 20 HR BDO JP Volunteer BDO KR Translator BDO JP Translator BDO RU Translator Black Spirit inside Black Spirit's Partner
Medals: 17
Contact:

Re: "Merge Data" is not working well?

Postby KAMIKADzE » Sat 2017.03.11, 17:07

Eklypse wrote:I was looking into this entry:

<_x007E_Name>Soldier</_x007E_Name>

This entry is the one that lose translation.

Which table? Which Key? There are many of those.
I guess Dialog_Table? If so show me your Dialog_Table scheme.

P.S. My guess is that you're using my Scheme, which is supposed for more robust Languagedata:

Code: Select all

"Dialog_Table": {
      "Keys": {
        "Npc": "!Npc",
        "DialogIndex": "!DialogIndex",
        "Index": "^Index"
      },
      "Values": {
        "Name": "~Name",
        "MainScene": "~MainScene",
        "FuncDialog": "~FuncDialog",
        "MainDialog": "~MainDialog",
        "Button": "~Button",
        "Dialog": "~Dialog",
        "Bubble1": "~Bubble1",
        "Bubble2": "~Bubble2",
        "Bubble3": "~Bubble3",
        "Bubble4": "~Bubble4",
        "Bubble5": "~Bubble5",
        "Bubble6": "~Bubble6",
        "Bubble7": "~Bubble7",
        "Bubble8": "~Bubble8",
        "Bubble9": "~Bubble9",
        "Bubble10": "~Bubble10"
      },
      "Actions": {
        "AllowNullKeys": false
      }
    }

Considering your base file you should either use the one produced by Launcher, or change your scheme to something like that:

Code: Select all

"Dialog_Table": {
      "Keys": {
        "Index": "^Index"
      },
      "Values": {
        "Name": "~Name",
        "MainScene": "~MainScene",
        "FuncDialog": "~FuncDialog",
        "MainDialog": "~MainDialog",
        "Button": "~Button",
        "Dialog": "~Dialog",
        "Bubble1": "~Bubble1",
        "Bubble2": "~Bubble2",
        "Bubble3": "~Bubble3",
        "Bubble4": "~Bubble4",
        "Bubble5": "~Bubble5",
        "Bubble6": "~Bubble6",
        "Bubble7": "~Bubble7",
        "Bubble8": "~Bubble8",
        "Bubble9": "~Bubble9",
        "Bubble10": "~Bubble10"
      },
      "Actions": {
        "AllowNullKeys": false
      }
    }


P.P.S. There are probably few more things that you will need to change in my scheme in order for it to work properly with translational languagedata as a base (Just remove all of the missing tables and columns from the scheme).



User avatar
Eklypse
Newbie
Newbie
Posts: 8
Joined: Wed 2017.02.08, 15:21
Honor: 0
Points: 44.70
BDO: Warrior
Gender: Male
Contact:

Re: "Merge Data" is not working well?

Postby Eklypse » Sat 2017.03.11, 18:21

Oh my god!

All this time it has been my problem. I didn't know how works the Scheme... Now I begin to understand how it works...

Thank you for your help, mate. Now it works well and all text was translated. Again, thanks a lot.

You are the best!!
¡Fuerza y honor!

Online
User avatar
KAMIKADzE
KAMIKADzE
KAMIKADzE
Blood Mage
Blood Mage
Posts: 3672
Joined: Thu 1998.01.01, 00:00
Honor: 3102
Points: 2423438202.90
BDO: Blader
Cabal: BL
Vindictus: Lann
C9: Blade Dancer
Gender: Male
Karma: 神風
: Assassin Black Star Winged Devotion Dedication Heavy 1st 20 HR BDO JP Volunteer BDO KR Translator BDO JP Translator BDO RU Translator Black Spirit inside Black Spirit's Partner
Medals: 17
Contact:

Re: "Merge Data" is not working well?

Postby KAMIKADzE » Sat 2017.03.11, 19:22

Eklypse wrote:Oh my god!

All this time it has been my problem. I didn't know how works the Scheme... Now I begin to understand how it works...

Thank you for your help, mate. Now it works well and all text was translated. Again, thanks a lot.

You are the best!!

np, since the issue is resolved, I'll close this thread.




Return to "Issues"

Who is online

Users browsing this forum: No registered users and 1 guest

Your Ad could be here.
Donate to support DoTA forum and Launcher development.