How to Set Locale for Aspose.PDF
Contents
[
Hide
]
The Aspose.PDF for Java library cannot support locales with specific combination language-country (such as “en-KR”). But a feature for setting classical locale for Aspose.PDF is present in the API and can be used by calling com.aspose.pdf.LocaleOptions.setLocale() method.
Following code snippet shows how to set locale using Aspose.PDF for Java:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/aspose-pdf/Aspose.Pdf-for-Java | |
com.aspose.pdf.LocaleOptions.setLocale(java.util.Locale.FRANCE); |