Translating OOME issue on fields

Olivier, I am copying the Documentation project and hopefully someone there will have experience with this, I know that I do not.

To summarize the question, and to provide insight, this is the problem.

In the documentation, we have things such as

Listing 1
Table 4

In LO, when I reference Table 4 or Listing 1 to include both the Category and the Number, the Category is taken by looking at the beginning text of the paragraph. If I place the cursor between "a" and "b" in the text of Table 4 and and enter "c", then the reference will automatically change to be "Tacble 4", so it changes automatically.

If, instead, I use search and replace to change "ab" to "acb", the reference category is dropped.

Also, if I place the cursor before Table 4, and I enter an X, this does NOT change the reference.

How does LO deal with references when the referenced type name should change?

I do not see a method of doing this automatically since search and replace in any capacity seems to clear the reference type. I can envision a macro that might work by issuing dispatches, which should emulate the GUI, but it would be a lot of work to test and I doubt that our translators do this.

Oliver, although I still do not have an answer in this regard, I did find an open bug that is related

https://www.libreoffice.org/bugzilla/show_bug.cgi?id=60360