usmanazizgroupdocs
6/21/2016 - 7:58 PM

setLocalesPath.java

// For complete examples and data files, please go to https://github.com/groupdocs-viewer/GroupDocs.Viewer-for-Java
try {
	// Setup GroupDocs.Viewer config
	ViewerConfig config = Utilities.getConfiguration();
	config.setLocalesPath("D://locales//");
	 
	// Create html handler
	ViewerHandler.CultureInfo cultureInfo = new ViewerHandler.CultureInfo("fr-FR");
	ViewerHtmlHandler htmlHandler = new ViewerHtmlHandler(config, cultureInfo);
} catch (Exception exp) {
	System.out.println("Exception: " + exp.getMessage());
	exp.printStackTrace();
}