Module: Blocks
- Defined in:
- lib/blocks/sdk/rails/routes.rb,
lib/blocks/sdk.rb,
lib/blocks/sdk/version.rb,
lib/blocks/sdk/base_client.rb,
lib/blocks/sdk/configuration.rb,
lib/blocks/sdk/rails/railtie.rb,
lib/blocks/sdk/service_manager.rb,
lib/blocks/sdk/cache/memory_cache.rb,
lib/blocks/sdk/rails/i18n_backend.rb,
lib/blocks/sdk/clients/translations_client.rb,
lib/blocks/sdk/rails/translations_route_mapper.rb,
lib/blocks/sdk/rails/controllers/api/translations_controller.rb,
lib/blocks/sdk/rails/controllers/translations_webhooks_controller.rb
Overview
I18n backend for Blocks SDK translations.
Reads through ServiceManager so the same MemoryCache that holds boot-time preloads and webhook-invalidated entries is the single source of truth. Falls back to the Simple backend (YAML files) when a key is not found in UILM, so existing app translations keep working.
Defined Under Namespace
Modules: Sdk