built-in function named exo_get_resstring:
<?php echo exo_get_resstring('[name of the resource string]'); ?>
For instance, to display the copyright text:
<?php echo exo_get_resstring('SPubCopyright'); ?>
These specific strings can only be used in dialog boxes to translate their titles and messages.
They can be invoked with the following syntax:
ID is the "string identifier". Such IDs always begin with
[#YAbout] will be replaced by the value of "
YAbout" which is "About".
They are not available at runtime contrary to resource strings: all references to these strings are directly replaced when ExeOutput for PHP compiles the application.
Managing these strings is exactly the same as for resource strings: see above.
You can import/export all strings from/to language files. These files are given the
.exol extension. Use the Load/Save buttons to import or export language files.
Thus language files may be used in different applications. You can even share them with others.
Please update the properties of a language file if you plan to distribute it. Properties are only for informative purposes at this time, but this may change in the future. The locale number is the numeric "language identifier" of the language. Visit http://msdn.microsoft.com/en-us/library/dd318693 for the list of available language identifiers.
Current strings are automatically saved in the project file, so you do not need to maintain a language file for your project.
You can specify a default language file in the Environment Options so that it is always loaded when a new project is created.
Some resource strings are automatically created by ExeOutput for PHP when compiling your application:
SPubTitle contains the title of your application.
SPubHomepage contains the default homepage URL.
SPubAuthor contains the author name.
SPubCopyright contains the copyright of your application.
SPubEMail contains the author E-Mail.
SPubVersion contains the version number of your application, as defined in the Resources page.
SPubProductVer contains the product version number of your application, as defined in the Resources page.
You can use these resource strings in your PHP scripts, HTML pages and JS scripts.