Section schema, presets category not translatable?

Short description of issue

Category in presets not translatable

Reproduction steps

N/A

Additional info

I’ve passed a translation string inside my presets for category but its not actually using it, are they not supported for category?

"presets": [
  {
    "name": "t:sections.breadcrumbs.name",
    "category": "t:general.categories.navigation"
  }
]

What type of topic is this

Troubleshooting
Bug report

Upload screenshot(s) of issue

Hey @Luke

Try using a translation string that follows the t:category path, like “category”: “t:categories.navigation”

1 Like

Are not we not able to have custom paths like we can everywhere else?

That does work btw, but it might be worth mentioning it in the docs that you have to follow this pattern.

3 Likes