Localization

Serving labels, messages and translated content per user locale, including translatable model elements and per-tenant text overrides.

Overview

SAP SHIPS
Node.js →

@sap/cds Resolves i18n bundles per request and serves localized entities and translated model annotations.

Java →

com.sap.cds:cds-services-bom Localizes ServiceException and Messages API text to the client's locale, and integrates with Spring's resource bundle support to resolve the translated strings.

Not covered: At texts the project already holds: the bundles and the .texts rows are translated by the project, a preserved locale with no translation falls back to en, and producing the translations is what SAP Translation Hub does on BTP. For data, localized on a sub element of a structure is ignored, an entity whose keys are associations cannot use it, and on SQLite the views exist only for the locales listed in the configuration.

SourceLocalization, i18nchecked
THE COMMUNITY ADDS

No community artifact is documented here.

Artifacts3

3 of 3 artifacts
ArtifactSignals
Packages3
@sap-ux/i18nReader and writer for i18n bundles of UI5 or CAP projects
Signals
none
@sap/cdsCAP Node.js runtime
Signals
none
com.sap.cds:cds-services-bomMaven bill of materials pinning CAP Java module versions
Signals
none

Content1

Group by
Piece, what it offers
ISO content for common CAP types
SAP Community, DJ Adams, BlogThe reasoningRunnable code
Core changed

Details

Coverage
statecore only, CAP
assessed
also inABAP, BTP/BAIP, UI5
SourceLocalization, i18nchecked SourceLocalized Datachecked SourceLocalized Datachecked SourceLocalization / i18n (Node.js) — capirechecked SourceLocalization / i18n (Node.js) — capirechecked
For your agent