Using Localization in a custom mod causes variable to name components
Reported
I just figured out how to get localization to work properly (sort of) by coding a resx file for english and adding an sbl file for that as well. I also use the {LOC:var} method to get the SE engine to recognize my custom localization.... The problem is after I save, quit, and reload the names it saved in the grid change from the translation to the variable name (see screen shot) before I saved and quit the grid had all the values of those display names as the names in that control panel...
Files:
2022-05-13-23-3...
I'm just wondering if the same reason we need to add {LOC: } around our variables, maybe it needs to be written that way too and it's getting stripped out before it's written... just a thought.
I'm just wondering if the same reason we need to add {LOC: } around our variables, maybe it needs to be written that way too and it's getting stripped out before it's written... just a thought.
I tried uploading a video, but when I clicked on it my AV flagged it so I removed it.
Also, I opened a ticket to get some attention on this and they told me to open a bug report, so... yeah.
They said someone from QA would speak to me there (isn't that here?)
And upload log files....
Isn't this public? There is private info in that file... plus this is not a crash bug, it is a failure on your software to retain the {LOC: } variable wrappers you make the modders use to get their localization variables recognized by the SE engine in order tow work. Apparently you don't write that to the save file.
I tried uploading a video, but when I clicked on it my AV flagged it so I removed it.
Also, I opened a ticket to get some attention on this and they told me to open a bug report, so... yeah.
They said someone from QA would speak to me there (isn't that here?)
And upload log files....
Isn't this public? There is private info in that file... plus this is not a crash bug, it is a failure on your software to retain the {LOC: } variable wrappers you make the modders use to get their localization variables recognized by the SE engine in order tow work. Apparently you don't write that to the save file.
Hello, S King,
thanks for letting us know.
You think you are able to provide some save file with this mod/localization modification as well, so I can take a closer look on it, please?
Preferably if you provide all the needed information, files etc., so I can try it on my own.
You can access your save files by typing %appdata% into your Windows search bar and you will be redirected to the hidden Roaming folder. After that just follow: \Roaming\SpaceEngineers\Saves. There should be a folder with your SteamID and your saves.
Please zip the file and attach it here. If you are having difficulty attaching files you can optionally use Google Drive. When sharing a google drive link please make sure it is set to be downloadable by anyone with the link.
Also some more indepth information, like a video or accurate steps how to make it work in game and how to reproduce this issue would be great help!
Thanks in advance.
Kind Regards
Keen Software House: QA Department
Hello, S King,
thanks for letting us know.
You think you are able to provide some save file with this mod/localization modification as well, so I can take a closer look on it, please?
Preferably if you provide all the needed information, files etc., so I can try it on my own.
You can access your save files by typing %appdata% into your Windows search bar and you will be redirected to the hidden Roaming folder. After that just follow: \Roaming\SpaceEngineers\Saves. There should be a folder with your SteamID and your saves.
Please zip the file and attach it here. If you are having difficulty attaching files you can optionally use Google Drive. When sharing a google drive link please make sure it is set to be downloadable by anyone with the link.
Also some more indepth information, like a video or accurate steps how to make it work in game and how to reproduce this issue would be great help!
Thanks in advance.
Kind Regards
Keen Software House: QA Department
Is there any news regarding this problem?
Is there any news regarding this problem?
Replies have been locked on this page!