i18n - nextjs breadcrumbs
Hi everyone
I'm using next internationalization (multilanguage), is there any way I can change breadcrumbs dynamically? I've tried transformLabel={(title) => title + {t('custom-label')}, but the outcome is: Home 'custom label' - Kunst 'custom-label'.
Is there any other way to fix this?
Thanks in advance.
Gentian
@leGenti Something more like this? transformLabel={(title) => t(title)}
I would be happy to see a follow-up to this conversation. I have the identical problem in that I have to translate the breadcrumb. To be honest, I have no idea what the ideal way to localize a URL is. Whether I translate it to the URL itself straight away or not.