Closed MohammedXD29 closed 1 year ago
Need more information - which SDS are you trying to edit? Is this an XBin file, or something different?
Need more information - which SDS are you trying to edit? Is this an XBin file, or something different?
Yes, it's XBin. file name is "Stringtable_en_common_group.XBin"
Can you please send me the file you are attempting to import into the Xbin editor?
Your XML appears to be using the old format, which is no longer supported. You need to export a new XML using version 2.28.
I will try with the old version
I tried with the same version of the XML file and it's the same error
Please use 2.28 and re-export the XML, and try again on the same version.
What about the translated strings?
You can copy them into the new XML. The change in XML format was due to a serious bug which broke StringTables. I strongly recommend to use 2.28, and copy your translated strings over to the new XML.
OK, thank you so much.
It didn't work, I copied the codes from the new one to the old and it didn't work, I tried to fix it but I fail
Here's the file : stringtable_en_common_group.txt just change it to XML.
You have broken the XML format. Just change the element "Content" and nothing else. Do not change any "LocalisableString" eleemnts.
Wich content you mean? this /content or this content ? and change it to what?
You only need to edit these lines. You do not need to edit LocalisableString
OK, you mean to delete / ? or what.
You have to make sure that the LocalisableString is in exactly the same format as above. If it as a "/" at the end, then remove it.
But / is in the start in content and LocalisableString Like /LocalisableString /content
I'm not sure I understand. If you want to translate the strings, all you need to edit is the contents inside the
My brain is going to explode soon.
Can you do it for me?
What do you want me to do?
import the file 😅
I can provide you an example, but i'm not doing it for you
OK
So now what I have to do?
The XML entries should look like this. Look very carefully.
<LocalisableString StringID="63039103238888">
<Content Type="String">؟ﻦﺤﻧ ﺍﺬﻫ ﻥﺎﻛ ﻞﻫ</Content>
</LocalisableString>
This is wrong:
<LocalisableString StringID="63039103238888" Name="0" />
<Content Type="String">؟ﻦﺤﻧ ﺍﺬﻫ ﻥﺎﻛ ﻞﻫ</Content>
</LocalisableString>
It's wrong because:
<Content Type="String">؟ﻦﺤﻧ ﺍﺬﻫ ﻥﺎﻛ ﻞﻫ</Content>
LocalisableString should wrap the It's like this : and if I did what you said it will be like this : is this normal?
Do you mean the missing indentations? That can be solved on your end. Both images look fine to me.
Yes, so you mean if it was there or not it won't be a problem, right?
It will not be a problem.
OK
I imported the XML file and no error showed but there's no strings has been changed?
Can you show me a picture of the XML and editor
Did you repack the sds?
Did you repack the sds?
No
Can you show me a picture of the XML and editor
You mean the XML file and mafia toolkit?
Did you repack the sds?
I exported it after import and it's the same
Repack it after you edit the xbin...
OK
Did you use the same XML when translating the other strings?
Did you use the same XML when translating the other strings?
I noticed right now it wasn't the same 🤕
You don't have to export once you have made the changes. You can reuse the same XML.
Look... I didn't understand what you mean, but when I import the translated it show me this :
I need to see the XML. It looks like you've caused the same issue as before - incorrect XML markup
😅 😅 😅 😅 😅
Broken on line 1771.
Name="Desk Guard"?
The XML entries should look like this. Look very carefully.
<LocalisableString StringID="63039103238888"> <Content Type="String">؟ﻦﺤﻧ ﺍﺬﻫ ﻥﺎﻛ ﻞﻫ</Content> </LocalisableString>
This is wrong:
<LocalisableString StringID="63039103238888" Name="0" /> <Content Type="String">؟ﻦﺤﻧ ﺍﺬﻫ ﻥﺎﻛ ﻞﻫ</Content> </LocalisableString>
It's wrong because:
1. The name attribute in LocalisableString is not required and will crash MafiaToolkit, so it should be removed. 2. The slash at the end of LocalisableString is not required because the element ends after `<Content Type="String">؟ﻦﺤﻧ ﺍﺬﻫ ﻥﺎﻛ ﻞﻫ</Content>` LocalisableString should wrap the element.
Exactly the same issue as this.
Hi, I'm trying to translate Mafia DE to Arabic and I extracted sds to xml and translated the file but when I click import it shows me an error "Object reference not set to an instance of an object" but if I import the original XML it will import without any problem, so what I have to do? Sorry for bad English, I think.