kwsch / pkNX

Pokémon (Nintendo Switch) ROM Editor & Randomizer
https://projectpokemon.org/home/forums/topic/48647-pknx-nintendo-switch-rom-editor-randomizer/
GNU General Public License v3.0
352 stars 108 forks source link

Something is not working when editing Spanish Script text #114

Open gutialv23 opened 3 years ago

gutialv23 commented 3 years ago

Exporting the default text and importing it again (this should do nothing in practice) breaks the texts. After that you will find things like "Gym Leader Superpotion" instead of "Gym Leader Cathy" (but in Spanish, of course)

I did not try with other languages.

kwsch commented 3 years ago

Can you export the text file again and compare it to what you imported?

gutialv23 commented 3 years ago

Yes, I have already done that and, as you supposed, they are different. Look: script_default.txt script_default_reimported.txt image

After importing the first exported file and exporting again I can see that in the empty lines you can find [~ 0], [~ 1], [~ 2]... and so on.

gutialv23 commented 3 years ago

I have tried to just Edit and Save using the Text Editor in PkNX and all those changes also happen in every empty line so... I think that the problem is not in the import/export part. The bug may happen while saving changes?

kwsch commented 3 years ago

Empty lines getting replaced with the placeholder variable and leading spaces getting removed is not the cause of the behavior you're describing.

gutialv23 commented 3 years ago

Ah perfect, I supposed it could be that. I have not seen any other changes

shinichi999 commented 2 years ago

Empty lines getting replaced with the placeholder variable and leading spaces getting removed is not the cause of the behavior you're describing.

Is there any solution to this at this point of time?

I was very excited about translating this videogame into Latin Spanish but the bug it's still there.

Plus, it affects shops too :(

05519b39-6cb1-4a6d-92fe-9b8b4a6ea4de jpg 6227b483490ba8c47acd1c3c74485033