Here's a question about Cocos Creator multilingualism

After adding two language packs, this problem occurs when I open Cocos Creator a few days later.

After opening Cocos Creator you get the error.

project/localization-editor/translate-data/index.yaml Invalid translate file content:

Error: /project/localization-editor/translate-data/index.yaml Invalid translate file content:

at forEach (/project/extensions/localization-editor/webpack-dist/electron-main/webpack:/localization-editor/src/lib/core/service/persistent/TranslateDataSourceService.ts:53:23)

at Array.forEach (<anonymous>)

at /project/extensions/localization-editor/webpack-dist/electron-main/webpack:/localization-editor/src/lib/core/service/persistent/TranslateDataSourceService.ts:47:22

at step (/project/extensions/localization-editor/webpack-dist/electron-main/main.js:32131:23)

at Object.next (/project/extensions/localization-editor/webpack-dist/electron-main/main.js:32072:20)

at asyncGeneratorStep (/project/extensions/localization-editor/webpack-dist/electron-main/main.js:31917:28)

at _next (/project/extensions/localization-editor/webpack-dist/electron-main/main.js:31935:17)

Here is the second error

[Scene] Error [TypeError]: Cannot read property ‘currentPreview’ of undefined

This problem has been bothering me for a long time, I obviously opened it last time and there was still no problem, please tell me how to solve it, thank you very much!

Can you give me a demo that I can reproduce?

I deleted the language pack plugin and the code, and redid it, so far there is no problem, thanks for the reply!