Open allthesignals opened 4 years ago
The Helsinki Full Stack course, though built in React / Gastby, uses this pattern for managing content. In this case, they do have 3 languages so they're using I18n features.
See here for an example of how they are importing their content and using in templates. Here is an example of a content.json
file being used to hydrate one of the pages.
Nice... I did a little "spike" on it a few days ago. We use a lot of components for icons (as Andy pointed out). I made a wrapper solution here: https://github.com/ember-intl/ember-intl/issues/715#issuecomment-631827298.
The biggest snag for us is the fact that we use components for icons, but this gets around it.
You can add HTML in everything.
https://ember-intl.github.io/ember-intl/versions/master/docs/guide/translating-text#t
Research how others have dealt with this?