Extension Export Json issues

Describe the bug
While working through numerus extension exports in Gdevelop: I have noticed that there are Object Operations export naming conventions in the Json files.

  1. I have noticed inconsistency in ModVar. ModVarObjet should be “ModVarObject”. as Objet is the french translation.

  2. When using custom extension behaviors, you have to add a blank string line when entering the parameters array index. If not, the editor the param variables will not go into the event sentence properly.

Below is are images it working.


image

Below is are images it NOT working.


image

I am unable to share the project or json extension in full, as its closed source.

I write my extensions via the editor and review them in Json, as its easier for me to navigate programmatically, The visual editor is too confusing for me to use.

Internal names, which are used in the JSON, cannot be modified without a breaking change, hence why there’s still old names that are written in French and were never changed :sweat:

I’m guessing the empty string is because an invisible first parameter is passed to the function, which is filled in by the compiler. I guess it probably doesn’t need to be in the JSON technically, but it’ll probably be more complex and potentially introduce bugs to try and exclude them from the JSON… Therefore and since it’s so benign, I doubt that’d be changed :thinking:

Yeah, I figure that likely will be the outcome. It does make it incredibly hard to train AI datasets when it really-really-really wants to translate into English / French to keep consistency.