[BUGFIX] LocalizationFactory use new trigger_error call