Translate and Kirbytext

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 :smiley:

<?php echo kti(t('variable')); ?>