I do this inside the OnInitializeReport Procedure:

Set piReportLanguage sReportId to (If(iIdiomaReporte=0,LANG_SPANISH,LANG_ENGLISH))