.PHP is not a standard translatable format and it is not fully supported. Only text variables and arrays with specifically defined keys are imported for translation.
Some .PHP files can be imported as HTML files by changing the file type to .HTML, or as .TXT files using the translatable text option with regexp.
File Types
-
.PHP
Import Options
-
Imports HTML tags contained in the file. Tags can then be used with .HTML file import settings.
Important
Issues with tags are a common cause of export errors. Always ensure tags and formatting are correct before exporting files by running quality assurance checks.
-
Apply regular expressions to convert specified text to tags.