In entry points, you need to source the ag_i18n_inc modules. The following examples assume that the agent is installed in the directory /opt/VRTSvcs/bin/type.
For entry points in Perl:
... $ResName = shitf; use ag_i18n_inc; VCSAG_SET_ENVS ($ResName); ...
For entry points in Shell:
... ResName = $1; shift; . "../ag_i18n_inc.sh"; VCSAG_SET_ENVS $ ResName;