mhilbrunner / foundryvtt-dnd5e-lang-de

German translation of the dnd5e system for Foundry Virtual Tabletop
12 stars 11 forks source link

There are no translated compendium after activating the module #25

Open LEronsn opened 1 month ago

LEronsn commented 1 month ago

I installed the module as described, also activated babele and german core. Set the language to german, but when I looked in the compendium folder, all I found were the original english compendium. Do I need to do something more?

All is up to date, the dnd system and the modules.

Thanks in advance.

Szerina92 commented 1 month ago

Hello there! Have you checked the setting of the modules? There is a setting for the translation of the compendium. image

LEronsn commented 1 month ago

Hi! Jep, done this, but still no translation 😕 Screenshot_20240804_113237_Chrome Screenshot_20240804_113255_Chrome

Szerina92 commented 1 month ago

That's weird! I just tried a clean installation and everything worked out. Are there any critical errors in the console when you load the game world in? You open it with F12 in the client - may be different for some browsers.

yourfate commented 1 month ago

Same issue here. I think I have installed it all correctly.

My settings:

image

image

image

image

Szerina92 commented 1 month ago

I can't reconstruct the problem on my system (I may not even be of big help anyways). Same as mentioned above, are there any errors loading into the world? Does it load in properly image

That's weird! I just tried a clean installation and everything worked out. Are there any critical errors in the console when you load the game world in? You open it with F12 in the client - may be different for some browsers.

yourfate commented 1 month ago

I found some errors in the console:

Error: Babele.get is deprecated, use game.babele instead
Deprecated since Version 3
Backwards-compatible support will be removed in Version 4
    logCompatibilityWarning foundry-esm.js:4609
    get babele.js:218
    <anonymous> babele.js:14
    #call foundry.js:632
    callAll foundry.js:589
    initialize foundry.js:8979
    call_wrapped libWrapper-wrapper.js:507
    libWrapperInit libWrapper-api.js:805

Also:

Babele: Error: Directory modules/FoundryVTT-dnd5e-DE/compendium/de does not exist or is not accessible in this storage location

I guess it looks for a dir named de in the compendium folder.

Szerina92 commented 1 month ago

The first one is fine, that's just a "warning", but it does not affect the process. (Yellow is fine)

The second one, that might be the problem! Probably a red error msg(?)

Babele: Error: Directory modules/FoundryVTT-dnd5e-DE/compendium/de does not exist or is not accessible in this storage location

Just don't understand why it does behave like that, I will ask around!

yourfate commented 1 month ago

Moving all the .json files in the compendium folder into a subfolder named de makes it work.

yourfate commented 1 month ago

Oh, maybe it is related to this: https://gitlab.com/riccisi/foundryvtt-babele/-/tree/master?ref_type=heads#translations-files-loading

I installed this before installing babele, so maybe it didn't auto-register the folder correctly. Then, when selecting the folder manually, it expects the files in a subdirctory of the selected folder, with no way for me to configure that in the UI.

LEronsn commented 1 month ago

Moving all the .json files in the compendium folder into a subfolder named de makes it work.

Yep. That helped. Thanks for the advice