11 Dec
2020
11 Dec
'20
1:46 a.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26392 --- Comment #22 from David Cook <dcook@prosentient.com.au> --- (In reply to Owen Leonard from comment #21)
If you're referring to the question of syntax, other projects I've seen do something similar. For instance in Drupal:
<?php print t('Skip to main content'); ?></a>
Translatable strings are wrapped in the t() function.
Drupal is an old project as well, and that example looks worrying. Based on https://en.wikipedia.org/wiki/Drupal#Themes, it looks like that example must be one of those "hard-coded PHP" templates. I wonder what they do in Drupal 8+ with Twig. -- You are receiving this mail because: You are watching all bug changes.