We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to change Language Preferences from English(Indian) to English (United States)

How to change Language Preferences from English(Indian) to English (United States).

Please find the below input and output word document.
Input_word_Document123.docx (15.1 KB)
Expeceted_output78.docx (14.9 KB)

@Princeshivananjappa You can use Font.LocaleId properly to get or set the locale identifier (language) of the formatted characters.

Document doc = new Document(@"C:\Temp\Input_word_Document123.docx");

CultureInfo info = new CultureInfo("en-US");

// Change the default font locale id to en-US
doc.Styles.DefaultFont.LocaleId = info.LCID;

// Change locale of all runs in the document. (if required)
foreach (Run r in doc.GetChildNodes(NodeType.Run, true))
    r.Font.LocaleId = info.LCID;

doc.Save(@"C:\Temp\out.docx");