When do you solve the problem with the translations in the moddesc?

Your forum for all discussions around Modding.
User avatar
Vanquish081
Posts: 329
Joined: Wed Apr 19, 2017 10:29 am

When do you solve the problem with the translations in the moddesc?

Post by Vanquish081 »

Image

Neither in the moddesc.xml nor

Code: Select all

<l10n filenamePrefix = "l10n" />
Last edited by Vanquish081 on Wed Dec 06, 2017 11:05 pm, edited 1 time in total.
User avatar
TSM
Posts: 670
Joined: Thu Nov 06, 2014 7:45 pm
Location: Lancashire, UK
Contact:

Re: When do you solve the problem with the translations in the moddesc?

Post by TSM »

can you send me ya modesc so I can take alook?
User avatar
bassaddict
GIANTS Software | Web/Script Programmer
Posts: 11983
Joined: Tue Nov 29, 2011 2:44 pm
Location: ER, DE

Re: When do you solve the problem with the translations in the moddesc?

Post by bassaddict »

I don't see any problem with the game there.
The game is looking for "Central_Farm", but the XML only has a "Central_farm" entry.
Note the uppercase F ingame vs the lowercase F in the XML file.
User avatar
Vanquish081
Posts: 329
Joined: Wed Apr 19, 2017 10:29 am

Re: When do you solve the problem with the translations in the moddesc?

Post by Vanquish081 »

bassaddict wrote: Wed Dec 06, 2017 9:05 am I don't see any problem with the game there.
The game is looking for "Central_Farm", but the XML only has a "Central_farm" entry.
Note the uppercase F ingame vs the lowercase F in the XML file.
Isn't the problem, doesn't matter Central_Farm that Central_farm, central_Farm, central_farm,... no load the translation. With the station name ocurrs the same
User avatar
Vanquish081
Posts: 329
Joined: Wed Apr 19, 2017 10:29 am

Re: When do you solve the problem with the translations in the moddesc?

Post by Vanquish081 »

Tycoonspaceman wrote: Wed Dec 06, 2017 1:28 am can you send me ya modesc so I can take alook?

Code: Select all

    <l10n>
			
		<text name="Central_Farm">
			<en>Central Farm</en>
			<de>Zentraler Bauernhof</de>
			<es>Granja Central</es>
		</text>
		
    </l10n>

Code: Select all

    <hotspots>
		<hotspot name="Central Farm" fullName="$l10n_Central_Farm"	.................		/>
	 </hotspots>
User avatar
Vanquish081
Posts: 329
Joined: Wed Apr 19, 2017 10:29 am

Re: When do you solve the problem with the translations in the moddesc?

Post by Vanquish081 »

bassaddict wrote: Wed Dec 06, 2017 9:05 am I don't see any problem with the game there.
The game is looking for "Central_Farm", but the XML only has a "Central_farm" entry.
Note the uppercase F ingame vs the lowercase F in the XML file.
Screenshot updated.
User avatar
TSM
Posts: 670
Joined: Thu Nov 06, 2014 7:45 pm
Location: Lancashire, UK
Contact:

Re: When do you solve the problem with the translations in the moddesc?

Post by TSM »

its finding the Central_Farm in modesc and ignoring the hotspot at least that is what it looks like to me.

So i looked at some other maps and it seems in your case if you change the hotspot to

Code: Select all

<hotspots>
		<hotspot name="Centre Farm" fullName="$l10n_Central_Farm"	.................		/>
</hotspots>
User avatar
Vanquish081
Posts: 329
Joined: Wed Apr 19, 2017 10:29 am

Re: When do you solve the problem with the translations in the moddesc?

Post by Vanquish081 »

Log...

Code: Select all

Load dlc: pdlc_bigBudPack (Version: 1.1.0.0)
Load dlc: pdlc_kuhnPack (Version: 1.1.0.0)
Load dlc: pdlc_platinumEdition (Version: 1.1.0.0)
Load mod: FS17_NewMap (Version: 1.0.0.0)

Warning: Missing l10n for button CLOSE_DOOR in FS17_NewMap

  Register vehicle type: pdlc_bigBudPack.subsoiler
  Register vehicle type: pdlc_bigBudPack.sowingMachineSprayer_extendedSpeedRotatingParts
  Register vehicle type: pdlc_bigBudPack.sowingMachineSprayerTank
moddesc...

Code: Select all

<l10n>
        <text name="input_OPEN">
            <en>Open Door</en>
            <de>Tür öffnen</de>
			<es>Abrir Puerta</es>
        </text>
        <text name="input_CLOSE">
            <en>Close Door</en>
            <de>Tür schließen</de>
			<es>Cerrar Puerta</es>
        </text>
        <text name="OPEN_DOOR">
            <en>Open Door</en>
            <de>Tür öffnen</de>
			<es>Abrir Puerta</es>
        </text>
        <text name="CLOSE_DOOR">
            <en>Close Door</en>
            <de>Tür schließen</de>
	   <es>Cerrar Puerta</es>
        </text>
	</l10n>
User avatar
deutz fahr austria
Posts: 81
Joined: Tue Aug 06, 2013 11:09 am

Re: When do you solve the problem with the translations in the moddesc?

Post by deutz fahr austria »

You need input_CLOSE_DOOR
Post Reply