uses
translations;
var
langdir: String; // the "languages" directory containing your po files
lang: String; // the abbreviation of the language to be translated to, e.g. "de"
begin
...
TranslateUnitResourceStrings('sdb_consts', langdir + 'sdb_consts.' + lang + '.po');