Open JuaRezZ17 opened 2 years ago
I have the same problem but using two languages. One xlf file is generated. The second one is not, with the same error message "Cannot read properties of undefined (reading 'replace')"
Probably its an syntax problem in my source, but where???? It would very helpful to write some hints in the error message to find the incorrect caption/label/tooltext/whatever.
Hello, you are right: it is a syntax error in the code. In my case it was two single quotes that should have been double quotes but VSCode didn't show me the error because in that case they could have used the single quotes too.
My recommendation is that you comment out parts of the code and try to create the translation files. When they are created it will mean that in the commented part will be the error and it will be easier for you to find it.
GL
Hi, my AL project is not generating the XLIFF file. It seems like the process started but it never end. In the extension of the VSCode it shows me this error: Cannot read properties of undefined (reading 'replace'). Has anyone found the solution to this error?