Skip to content

Loading folders is not supported on Android and Web #43

Description

@inodentry

Older (before Bevy 0.12) versions of bevy_fluent supported providing a Vec of asset handles for the locale bundles.

The current (Bevy 0.12) version switched to using LoadedFolder (new API that came with the Bevy 0.12 assets rework).

However, some platforms do not support the asset_server.load_folder API. Notably Web/WASM and Android.

I can no longer run projects that use bevy_fluent on these platforms.

I want to make a mobile port of my game, but it seems like it is no longer possible, because LocalizationBuilder requires LoadedFolder.

Can you please also support using a simple Vec of asset handles instead?

It would also have the benefit that it would allow me to organize my locale assets differently if I want, instead of requiring them to be all in a single folder.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions