Culture 'Culture name 'in-ID' is not supported' is not supported

As per recommended for 257492 , we are using aspose word 22.12 jar.

Getting following exception while setting Locale 'in_ID or ‘ín’ (Indonesian) to

CurrentThreadSettings.setLocale(loc);

com.aspose.words.net.System.Globalization.CultureNotFoundException: Culture ‘Culture name ‘in-ID’ is not supported’ is not supported

Code :

try
{
    Locale backupLocale = CurrentThreadSettings.getLocale();
    String userLocale = "'in_ID";
    String[] locValue = userLocale.split("_");
    Locale loc = new Locale(locValue[0], locValue[1]);
    CurrentThreadSettings.setLocale(loc);
    //other code
    CurrentThreadSettings.setLocale(backupLocale);
}
catch (Exception e)
{
    System.out.println(e.getMessage());
    e.printStackTrace();
}

@akondewar
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSJAVA-2830

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

The issues you have found earlier (filed as WORDSJAVA-2830) have been fixed in this Aspose.Words for Java 23.3 update.