bradymiller wrote on Friday, April 04, 2014:
Hi Pimm,
Note that when it’s not translated (ie. no dummy) there are two possibilities:
- The code is using xl() or a derivative of it, but the constant has not yet been placed in the translation spreadsheet (the process of placing new constants in the spreadsheet is done via several perl scripts that takes about 4 hours to do, so I only do this several times a year)
- The code is not translated (only are rare instances of this likely left in the codebase).
A grep command can be used to check. For example if I do following on linux command line:
grep -R “Document Templates” /var/www/openemr/
I then get following output:
/var/www/openemr/interface/main/left_nav.php: <?php if (acl_check('patients','docs')) genMiscLink('RTop','adm','0',xl('Document Templates'),'super/manage_document_templates.php'); ?>
/var/www/openemr/interface/main/left_nav.php: <?php if (acl_check('patients','docs')) genMiscLink('RTop','adm','0',xl('Document Templates'),'super/manage_document_templates.php'); ?>
Note it states the file the constant is in and shows the line (note it has a xl() around it)
-brady
OpenEMR