Warning: Missing l10n error in forest mod

User avatar
ghosted
Posts: 390
Joined: Mon Oct 20, 2014 5:06 pm

Warning: Missing l10n error in forest mod

Post by ghosted »

I am getting this error in the forest mod v0.99 but what do I add between the <l10n></l10n> to fix it

Warning: Missing l10n for axis AXIS_ARechen in aForestMod
Warning: Missing l10n for axis AXIS_AKlappe in aForestMod
live4emt
Posts: 46
Joined: Tue Aug 20, 2013 3:15 am

Re: Warning: Missing l10n error in forest mod

Post by live4emt »

I get the same. I added those items into the mod desc but for whatever reason the error still appears.
User avatar
don_apple
Moderator
Posts: 8061
Joined: Thu Oct 28, 2010 9:31 pm
Location: Planet Earth

Re: Warning: Missing l10n error in forest mod

Post by don_apple »

ghosted wrote:I am getting this error in the forest mod v0.99 but what do I add between the <l10n></l10n> to fix it

Warning: Missing l10n for axis AXIS_ARechen in aForestMod
Warning: Missing l10n for axis AXIS_AKlappe in aForestMod
You need to add something like the following for each Line:

Code: Select all

        <text name="AXIS_ARechen">
            <en>Description of the function</en>
            <de>Beschreibung der Funktion</de>
        </text>
Regards,
don_apple
User avatar
Decker_MMIV
Posts: 287
Joined: Wed Aug 22, 2012 1:02 am

Re: Warning: Missing l10n error in forest mod

Post by Decker_MMIV »

Actually you need to add two <text> elements when it is an <axis> input - One suffixed with "_1" and another with "_2":

Example, already viewable in the ModDesc.XML:

Code: Select all

<inputBindings>
  <axis name="AXIS_GRAPPLE" ...
...

<l10n>
  <text name="AXIS_GRAPPLE_1">   // for AXIS_GRAPPLE input-binding name
    <en>open wood claw</en>
    <de>Greifer öffnen</de>	
  </text>
  <text name="AXIS_GRAPPLE_2">   // for AXIS_GRAPPLE input-binding name
    <en>close wood claw</en>
    <de>Greifer schließen</de>	
  </text>
...
User avatar
ghosted
Posts: 390
Joined: Mon Oct 20, 2014 5:06 pm

Re: Warning: Missing l10n error in forest mod

Post by ghosted »

I have added these lines between the <l10n></l10n> and it still shows the error in log

<text name="AXIS_ARechen_1">
<en>lift</en>
<de>Aufzug</de>
</text>
<text name="AXIS_AKlappe_2">
<en>lower</en>
<de>untere</de>
</text>
Post Reply