If I make a program for my native language audience -- I use Lithuanian names for variables and messages. But then, if I want to share it globally, It'll be much better to translate them to English -- so I'd like to be able to "change name" of variable or message. Also, sometimes you notice that the current name doesnt represent the meaning of variable, so you want to change it.
I know, I can replace all places where variable was used manually, but this is time consuming and error prone.
Offline
Actually, I was about to suggest that some time ago: when I made my first Scratch project, as soon as I created a variable, I thought I should name it better... and found out I had to create a new variable, replace the occurrences with it and delete the old variable... Boring.
So I did my homework and first searched the forum...
The Improvement of comfort+consistancy: Renaming Items, specialy variables thread is precisely about this topic, and have an official answer from the Scratch team.
Which is, alas, negative: it appears to be more complex than it seems.
Although I am pretty sure most users would be happy with a simple global search & replace in all the code, there is in general little risk of conflict between some local variable and the new variable name (unless, perhaps, in the most complex projects?).
In short, maybe it can be done, but it is hard, and probably got a low priority.
Offline