Ludeon Forums

Ludeon Forums

  • July 12, 2020, 06:10:16 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Translation cleaner problem in v1.1  (Read 525 times)

Arczi008TV

  • Muffalo
  • *
  • Posts: 16
  • Refugee
    • View Profile
Translation cleaner problem in v1.1
« on: February 26, 2020, 03:43:17 AM »

This tool is making now unnecessary mess.

Previously code
<NeurotrainerUsed>{USER_labelShort} used {1} neurotrainer to go from level {2} to level {3}</NeurotrainerUsed>

After using cleaner, that appear:
<SkillNeurotrainerUsed>TODO</SkillNeurotrainerUsed>
It should just update.


Backstories.xml after cleaning is like destroyed.

Example:
<AbandonedChild47> is changed to <AbandonedChild30> and translation is DELETED, just TODO appear.

Or translation is moved in wrong place!
Translated <Abductee80> is now in <Abductee43> which has different text to translate.
Logged

Dinoabunai

  • Muffalo
  • *
  • Posts: 17
  • Refugee
    • View Profile
Re: Translation cleaner problem in v1.1
« Reply #1 on: February 26, 2020, 01:24:39 PM »

Yep, Backstories is 100% busted.
Logged

Tynan

  • Developer
  • Administrator
  • Transcendent
  • *****
  • Posts: 12454
    • View Profile
    • Tynan's Blog
Re: Translation cleaner problem in v1.1
« Reply #2 on: February 26, 2020, 07:25:41 PM »

Sorry, there were a few renames to separate things. I hope it won't be too hard to do a find/replace on them.

Regarding the backstory code changes, this is a problem caused by the fact that the numbers are hashed from the description, so even a tiny change to the description changes the number. I've already got a plan to change this so that the backstory's id is stored directly and this will never happen again. I'm sorry about incurring the extra effort; I hope it won't be too hard just to rename the content.
Logged
Tynan Sylvester - @TynanSylvester - Tynan's Blog

Arczi008TV

  • Muffalo
  • *
  • Posts: 16
  • Refugee
    • View Profile
Re: Translation cleaner problem in v1.1
« Reply #3 on: February 28, 2020, 04:00:54 PM »

I hope it won't be too hard to do a find/replace on them.
When something is marked as 'unused' we dont know it is deleted or moved to another file or code is renamed. That is a little bit confusing.

PS. Can you add polish language worker?
https://ludeon.com/forums/index.php?topic=44000.msg467696#msg467696
« Last Edit: February 28, 2020, 04:03:17 PM by Arczi008TV »
Logged

DevEagle

  • Muffalo
  • *
  • Posts: 3
  • Refugee
    • View Profile
Re: Translation cleaner problem in v1.1
« Reply #4 on: March 04, 2020, 10:41:15 AM »

The hungarian translate is same problem. See the hungary files, and find lot of "unused" stuff. The game is developer mode red error this "unused" stuff. Delete this unused stuffs around the files solved this error?
Logged