This works.
added 2 fields in schema "Resource Custom"
- "cookieMessage1" as text
- "cookieMessage2" as text (occurs n).
Then "publish settings" and did show on cd server ..\BinaryData\ .json
{...
"cookieMessage1": "U kunt deze {entity} niet bekijken",
"cookieMessage2": "nl:Ga naar instellingen\r\nen:Goto settings\r\nde:Mein",
...}
Settings can be used in our webapp views. Prefix e.g. "en" for English, "de" for German etc.
Question: Is there a better way for language depend text to do it?
Note:
- These texts are very general and therefore not bound to a component. you want to change such a text without release.
- This solution is based (only English) text in ticket DXA 1.7: Custom Configuration / Resource Schema