Forum .LRN Q&A: Re: Small script for exporting i18n from database to xml-file for all packages

your last code suggestion is absolutely correct. On server startup the proc import_from_all_files_and_cache is invoked (see acs-lang/tcl/acs-lang-init.tcl) and this proc will load messages into the database for all enabled packages that have not yet had any messages loaded (we only ever want to do this once per package for a server installation).