Trevliga Spel forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

First time writing a Translator

2 posters

Go down

First time writing a Translator Empty First time writing a Translator

Post by not_mac_demarco Sat Jul 15, 2023 12:40 am

hey there, I'm wondering if someone can help me understand what is wrong with my translation file. it keeps telling me its in the wrong format but as far as I can tell i have entered the text properly. any tips?



<?xml version="1.0" encoding="utf-8"?>
<MidiSteps version="1.1">
  <Default send="yes" receive="yes" display="" image="" displayonsend="yes" useclosestvalueonreceive="yes"/>
  <StepValues>
    <Step value="0" display="0"/>
    <Step value="1" display="3"/>
    <Step value="2" display="6"/>
    <Step value="3" display="9"/>
    <Step value="4" display="13"/>
    <Step value="5" display="16"/>
    <Step value="6" display="19"/>
    <Step value="7" display="22"/>
    <Step value="8" display="26"/>
    <Step value="9" display="29"/>
    <Step value="10" display="32"/>
    <Step value="11" display="35"/>
    <Step value="12" display="39"/>
    <Step value="13" display="42"/>
    <Step value="14" display="45"/>
    <Step value="15" display="48"/>
    <Step value="16" display="52"/>
    <Step value="17" display="55"/>
    <Step value="18" display="58"/>
    <Step value="19" display="61"/>
    <Step value="20" display="65"/>
    <Step value="21" display="68"/>
    <Step value="22" display="71"/>
    <Step value="23" display="74"/>
    <Step value="24" display="78"/>
    <Step value="25" display="81"/>
    <Step value="26" display="84"/>
    <Step value="27" display="87"/>
    <Step value="28" display="91"/>
    <Step value="29" display="94"/>
    <Step value="30" display="97"/>
    <Step value="31" display="100"/>
    <Step value="32" display="104"/>
    <Step value="33" display="107"/>
    <Step value="34" display="110"/>
    <Step value="35" display="113"/>
    <Step value="36" display="117"/>
    <Step value="37" display="120"/>
    <Step value="38" display="123"/>
    <Step value="39" display="126"/>
    <Step value="40" display="130"/>
    <Step value="41" display="133"/>
    <Step value="42" display="136"/>
    <Step value="43" display="139"/>
    <Step value="44" display="143"/>
    <Step value="45" display="146"/>
    <Step value="46" display="149"/>
    <Step value="47" display="152"/>
    <Step value="48" display="156"/>
    <Step value="49" display="159"/>
    <Step value="50" display="162"/>
    <Step value="51" display="165"/>
    <Step value="52" display="169"/>
    <Step value="53" display="172"/>
    <Step value="54" display="175"/>
    <Step value="55" display="178"/>
    <Step value="56" display="182"/>
    <Step value="57" display="185"/>
    <Step value="58" display="188"/>
    <Step value="59" display="191"/>
    <Step value="60" display="195"/>
    <Step value="61" display="198"/>
    <Step value="62" display="201"/>
    <Step value="63" display="204"/>
    <Step value="64" display="208"/>
    <Step value="65" display="211"/>
    <Step value="66" display="214"/>
    <Step value="67" display="217"/>
    <Step value="68" display="221"/>
    <Step value="69" display="224"/>
    <Step value="70" display="227"/>
    <Step value="71" display="230"/>
    <Step value="72" display="234"/>
    <Step value="73" display="237"/>
    <Step value="74" display="240"/>
    <Step value="75" display="243"/>
    <Step value="76" display="247"/>
    <Step value="77" display="250"/>
    <Step value="78" display="253"/>
    <Step value="79" display="256"/>
    <Step value="80" display="260"/>
    <Step value="81" display="263"/>
    <Step value="82" display="266"/>
    <Step value="83" display="269"/>
    <Step value="84" display="273"/>
    <Step value="85" display="276"/>
    <Step value="86" display="279"/>
    <Step value="87" display="282"/>
    <Step value="88" display="286"/>
    <Step value="89" display="289"/>
    <Step value="90" display="292"/>
    <Step value="91" display="295"/>
    <Step value="92" display="299"/>
    <Step value="93" display="302"/>
    <Step value="94" display="305"/>
    <Step value="95" display="308"/>
    <Step value="96" display="312"/>
    <Step value="97" display="315"/>
    <Step value="98" display="318"/>
    <Step value="99" display="321"/>
    <Step value="100" display="325"/>
    <Step value="101" display="328"/>
    <Step value="102" display="331"/>
    <Step value="103" display="334"/>
    <Step value="104" display="338"/>
    <Step value="105" display="341"/>
    <Step value="106" display="344"/>
    <Step value="107" display="347"/>
    <Step value="108" display="351"/>
    <Step value="109" display="354"/>
    <Step value="110" display="357"/>
    <Step value="111" display="360"/>
    <Step value="112" display="364"/>
    <Step value="113" display="367"/>
    <Step value="114" display="370"/>
    <Step value="115" display="373"/>
    <Step value="116" display="377"/>
    <Step value="117" display="380"/>
    <Step value="118" display="383"/>
    <Step value="119" display="386"/>
    <Step value="120" display="390"/>
    <Step value="121" display="393"/>
    <Step value="122" display="396"/>
    <Step value="123" display="399"/>
    <Step value="124" display="400"/>
    <Step value="125" display="400"/>
    <Step value="126" display="400"/>
    <Step value="127" display="400"/>
  </StepValues>
</MidiSteps>

not_mac_demarco

Posts : 3
Join date : 2023-07-15

Back to top Go down

First time writing a Translator Empty Re: First time writing a Translator

Post by Admin Sat Jul 15, 2023 9:34 am

Answered in mail, but if anyone else gets the same problem:

The file was created with Word, and when saved as an XML file in Word, Word adds a large amount of XML tags for fonts, font sizes and so on.

The XML file must be created with an editor that saves the file exactly as it is displayed in the editor, without extra XML tags.
Admin
Admin
Admin

Posts : 1235
Join date : 2020-03-26

https://trevligaspel.forumotion.eu

Back to top Go down

First time writing a Translator Empty Re: First time writing a Translator

Post by not_mac_demarco Sat Jul 15, 2023 8:02 pm

Hey there, thanks for your help! Also, just to clarify: I made this file in text edit but then saved it in XML format on text editor for Mac which creates the same problem. So I guess what I need to do is just save it as a text edit but put .xml at the end of the name.

not_mac_demarco

Posts : 3
Join date : 2023-07-15

Back to top Go down

First time writing a Translator Empty Re: First time writing a Translator

Post by not_mac_demarco Sat Jul 15, 2023 8:15 pm

not_mac_demarco wrote:Hey there, thanks for your help! Also, just to clarify: I made this file in text edit but then saved it in XML format on text editor for Mac which creates the same problem. So I guess what I need to do is just save it as a text edit but put .xml at the end of the name.
Correction: using mac text edit, you do save this file as a .xml format but in order to avoid all the code indicating fonts you must go to the top menu bar and go to "Format" then select "make plain text" if the file is already in plain text you will not see this option.

not_mac_demarco

Posts : 3
Join date : 2023-07-15

Back to top Go down

First time writing a Translator Empty Re: First time writing a Translator

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum