Include AppRun when generating translations, and rename translation function