NLS API enables you to run reports in different languages, which includes global NLS API, catalog level NLS API, report level NLS API and resource tree NLS API. For detailed usages about the NLS API, see the JReport Javadoc in <install_root>\help\api.
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().With the catalog level NLS API, you can translate object names in a catalog to different languages.
For local environment
public interface NLSLibraryManager.CatalogNLSLibrary getCatalogNLSLibrary().For RMI usage
public interface RemoteNLSLibraryManager.RemoteCatalogNLSLibrary getCatalogNLSLibrary().With the report level NLS API, you can translate object names in a report to different languages.
For local environment
public interface NLSLibraryManager.ReportNLSLibrary getReportNLSLibrary().For RMI usage
public interface RemoteNLSLibraryManager.RemoteReportNLSLibrary getReportNLSLibrary().With the resource tree NLS API, you can translate object names in the resource tree of JReport Server to different languages.
For local environment
public interface RptServer.ResourceNLSManager getResourceNLSManager().For RMI usage
public interface RemoteRptServer.RemoteResourceNLSManager getResourceNLSManager().