smallrecords
smallrecords copied to clipboard
CategoryDetail component "translations" array
Hi,
I have two active locales. It seems that the translations object added to categoryDetail adds only the secondary locale (not default) even if the active locale is set as the secondary locale. Shouldn't it output the default locale?
Edit: So this is a live production test: EN locale: https://www.korelic.com/en/tests/spray-booths SL locale: https://www.korelic.com/sl/tests/lakirnice
Or I am somehow understanding the translations object wrong?
Hi @zlobec,
translation works for me when used like this {{ record.category.name }}.
Translatable fields are:
- name
- slug
- content
- description