Default document language

Hello,

I would like to ask, if it is possible to get default language of the document (or paragraph, run…). We are working with multilanguage documents, so this property is very important for us.

Thanks,

Roman.

Hi Roman,

Thank you for your interest in Aspose.Word.

This is not possible at the moment but we’ve logged your request so we will add this feature later.

Hi Roman,

First, this feature turned out to be already exposed. You can retrieve the locale identifier (language) of the run’s formatted character using the following properties:

Font.LocaleId

Font.LocaleIdBi

Font.LocaleIdFarEast

Second, we have released Aspose.Word 3.2.2 where the problem with styles losing language in some documents was fixed:

https://docs.aspose.com/words/net/aspose-words-for-net/

Hi Dmitry,

Font.LocaleID is exactly what we need. It works perfect.

Thanks for your help,

Roman.