localization
Installation
SKILL.md
Localization — CAP Best Practices
Primary reference: https://cap.cloud.sap/docs/guides/i18n
Localized data: https://cap.cloud.sap/docs/guides/localized-data
Localized entity elements
Mark translatable fields with localized:
entity Products : cuid {
localized title : String(111);
localized description : LargeString;
price : Decimal(9,2); // not localized — price is not translated
currency : Currency;
}
CAP auto-generates a Products_texts table with locale and ID keys. Translations are served automatically based on req.locale.