XAMPPRocky / fluent-templates

Easily add Fluent to your Rust project.
Apache License 2.0
136 stars 28 forks source link

ArcLoader requires locale directory to exist to even use fallbacks #42

Open alerque opened 1 year ago

alerque commented 1 year ago

Using the ArcLoader is really picky and I'm having a hard time setting it up for use (adding Fluent functions to a tera CLI). The shared resources feature works, as do fallback locales. The trouble is neither work if a directory in the locales path does not exist for every possible locale variant that might be used. Even if the message data would otherwise fall back to another locale or the shared resources, an empty directory needs to exist to stuff the bundles.

c.f. #41

alerque commented 6 months ago

I haven't dug up this project to see if I can get farther now, but does v0.9.1 relate to this? It looks possible that this is the same issue.

XAMPPRocky commented 6 months ago

Thank you for your issue! I'm not sure, I thought that only worked for the static_loader, not the ArcLoader.