ORIONIS API REFERENCE

THE ORIONIS API

Build with clarity.

Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.

class documentation

class LocalizationProvider(ServiceProvider): (source)

View In Hierarchy

Service provider for the Orionis localization system.

Boot phase

Builds the shared translator from the application configuration, binds it under orionis.localization.contracts.ITranslator, and pins the orionis.support.facades.Lang facade so attribute access is direct without container resolution overhead on every call.

Async Method boot Bind the shared translator and pin the Lang facade.
Method register Bind ILocalizationManager to LocalizationManager as a singleton.
async def boot(self): (source)

Bind the shared translator and pin the Lang facade.

Returns
NoneNo return value.
def register(self): (source)

Bind ILocalizationManager to LocalizationManager as a singleton.

Returns
NoneNo return value.