Is there any way to use the translate function AND Kirbytext? I have tried this:
<?php echo t('variable')->kti(); ?>
Is there any way to use the translate function AND Kirbytext? I have tried this:
<?php echo t('variable')->kti(); ?>
kti()
is a field method, so you cannot use it on a string. You can use the corresponding helper though: https://getkirby.com/docs/reference/templates/helpers/kirbytextinline
Great, it works
<?php echo kti(t('variable')); ?>