godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
89.84k stars 20.96k forks source link

"No loader found for resource `.po`" when editing PO file #79728

Open ghost opened 1 year ago

ghost commented 1 year ago

Godot version

v4.0.3.stable.official [5222a99f5]

System information

Windows 10

Issue description

When .po files are edited, the following error is printed to the output when returning to the editor window.

No loader found for resource: res:/path_to.po.

Steps to reproduce

Issue description.

Minimal reproduction project

N/A

Calinou commented 1 year ago

This is a known issue when editing files that are valid imported resources in the script editor. I'm not sure how it could be avoided.

ghost commented 1 year ago

I've used an external editor (not the built-in script editor).

LunaCapra commented 5 months ago

I encountered this issue but with .mo files, rather than .po files. I'm editing and generating these files with POEdit.

This was tested in and still occurs in v4.3.dev6.official [89850d553] The full error looks like this: image

I'm also attaching a reproduction project to make it easier to test. no_loader.zip