4D v14.3Resources |
||
|
4D v14.3
Resources
Resources
As announced with the release of 4D v11 (see section below), mechanisms based on the use of resources files are obsolete. Commands in the "Resources" theme used to write in resources files must no longer be used; they will be removed from future versions of 4D. Commands used to read resources are maintained for compatibility. The management of resources has been modified in 4D beginning with version 11. In conformity with the directions specified by Apple and implemented in the most recent Mac OS versions, the concept of resources in the strictest sense (see definition below) is now obsolete and will be abandoned progressively. New mechanisms have been implemented to support the needs that were previously met by resources: XLIFF files for the translation of character strings, .png picture files, etc. In fact, resource files will be replaced in favor of standard type files. 4D supports this evolution and, beginning with version 11, provides new tools for the management of database translations, while maintaining compatibility with existing systems. To maintain compatibility and in order to permit the progressive adaptation of existing applications, the former resource mechanisms will containue to work in 4D v11, with just a few notable differences:
In 4D v11, the notion of “resources” must be understood in the broader sense as “files that are necessary for the translation of application interfaces.” The new architecture of resources is based on a folder, named Resources, that must be located next to the database structure file (.4db or .4dc). In this folder, you need to put all the files that are necessary for the translation or customizing of the application interfaces (picture files, text files, XLIFF files, and so on). |
PROPERTIES
Product: 4D SEE ALSO
BLOB Commands ARTICLE USAGE
4D Language Reference ( 4D v14 R3) Inherited from : Resources ( 4D v12.4) |