DefaultDocBundleLoader
Default implementation that loads docs from bundled markdown files packaged as Compose Resources under files/docs/.
User guide titles and keywords are resolved from string resources so Crowdin translations propagate to the in-app index and search. Developer guide entries stay hardcoded English (code-focused audience).
No cross-locale caching — the bundle rebuilds on each load call (~1 ms) so locale changes take effect immediately.
Functions
Link copied to clipboard
Check whether a Crowdin-translated resource exists for the given page and locale.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Load page content with locale awareness. Tries locale-qualified Crowdin resource first, falls back to English. Returns a pair of (content, wasLocalized) for cascade decision.