Localization / Localized strings |
Localized strings can be easily extracted from .4gl and .per source files.
$ fglcomp -m mymodule.4gl
The compilers dumps all localized string to stdout. This output can be redirected to a file to generate the default source string file with all the localized strings used in the source file. Source string files should then be re-organized, to centralize common messages in a unique .str file, and can then be compiled by fglmkstr into .4st files to be used by the runtime system.