foundryvtt-shadowdark icon indicating copy to clipboard operation
foundryvtt-shadowdark copied to clipboard

Shadowdarklings importer won't work with Babele translations

Open parkouristik93 opened this issue 4 months ago • 3 comments

Steps to reproduce:

  1. Get the system, Babele, libWrapper and the translation (In this case, shadowdark-rpg-fr)
  2. Activate the translation module and it's dependencies. Also choose the language of the translation.
  3. Try to import the character from Shadowdarklings
  4. ???
  5. Profit.

Here's the video with the replication of the issue. https://youtu.be/e420yWmz3YU

parkouristik93 avatar Aug 13 '25 16:08 parkouristik93

If you are having a problem with that module, I would suggest opening a ticket on that modules project page. We can't support fixing problem in other modules.

PrototypeESBU avatar Aug 14 '25 19:08 PrototypeESBU

Turns out there is a minor bug in the importer that causes it to error out before displaying the issue. The root problem is that babele changes how lookups are done to compendiums, so our code can't match items because the searches are being done in english, but the results are being translated. I can fix the bug so it will work, but no easy way to fix matching up the correct properties of a character.

Image

PrototypeESBU avatar Aug 14 '25 20:08 PrototypeESBU

Reminder: Fix ShadowdarklingImporterSD.mjs lines 387 and 394 using optional chaining operators

PrototypeESBU avatar Aug 14 '25 20:08 PrototypeESBU

Implemented in v4.0.0

PrototypeESBU avatar Dec 10 '25 06:12 PrototypeESBU