Yes 2018.1 and the problem is present there. I believe it worked correctly in the past, but cannot recall with which version.
At first glance, it seems the way the formula is retrieved has not changed since contribution by @dineshkaushal in 2015.2 as of 06ab8e4, although there of course might be side effects I hadn't considered.
Could you please check with older versions of NVDA to ensure localized formulas used to be retrieved and hopefully identify when it turned to English only?
Note: I'm not arguing at all this should be fixed only if it is a regression, I'm convinced this is an issue for any user of non-English locales.
@michaelDCurran this one was an easy fix, as the range object exposes a "FormulaLocal" property, if I recall correctly.
However, since #9257, it's a whole other story...
Would you know whether there is an equivalent to XLDISPID_RANGE_FORMULA for localized formulas?
Or maybe just point to the relevant documentation on the used Excel IDispatch DISPIDs?
The dispid you need is: 263
I was able to fetch this by:
Opening Excel and focusing on a cell.
Opening the Python console and running the following command:
That is, using the IDispatch interface on an Excel range object, calling
GetIDsOfNames with the name: formulaLocal.