I have a footer with some links. I enabled English and Japanese, and I added the translations from the user interface, but the block is not using the translated string.

The block contains the following code.

<li><a href="/sales-jobs"><?php echo t('Sales'); ?></a></li>

How do I let t() catch the translated strings?


If you installed i18n module you need to enable Block languages which is provide you to easy block translation interface.

enter image description here

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy