With the Global NLS API, you can add a language, then specify to translate text in another language into a version in this language, or specify to replace a font face and size with another face and size. Likewise, you can get, update, or remove a language, a text translation, or a font replacement.
All text translations and font replacements specified for the global NLS will be applied each time a report runs.
Text is classified into four groups. You will find the four types in NLSType
in the API Javadoc.
For local environment
public interface RptServer
.GlobalNLSLibrary getGlobalNLSLibrary()
.For RMI usage
public interface RemoteRptServer
.RemoteGlobalNLSLibrary getGlobalNLSLibrary()
.Reference: See the JReport Javadoc in <install_root>\help\api
for detailed usages of the Global NLS API.