Class LaravelUi5\Core\Http\Controllers\CardI18nController

extends Controller
uses ResolvesCardI18nBundle

Serves a Card's i18n resource bundle at a URL relative to the card manifest (card/{ns}@{ver}/i18n/{file}), so the sandboxed sap.ui.integration widget can resolve its own translations. The pointer is declared by {@see CardController}, which injects sap.app/i18n.bundleUrl = "i18n/i18n.properties" into the manifest.

Files live in the card's self-contained folder (resources/ui5/cards/{slug}/i18n/); the directory is resolved by the shared {@see ResolvesCardI18nBundle} convention.

Unlike the manifest (per-request, no-store), bundles are keyed by the immutable @{ver} and served hard-cacheable.

  • Illuminate\Routing\Controller
Methods