Completely ignore that zlib - that is just an internal file format name. You need to start at the beginning, not at an error message.
And the beginning is the external text file - all show text sequences of your game need a placeholder (called key), and the external text file lists all those keys and give the text that should replace that placeholder in the game.
That is the reason why that script will not function unless you wrote the file that contains both the placeholder-keys and the real text that should be displayed at that point in the game.
The translation part comes later, because then you just provide different text files for different languages.
But that external text file for the first language - that is what you have to write before anything can function, and you are the one who has to decide how the placeholder keys are named and what they replace ingame.
And the beginning is the external text file - all show text sequences of your game need a placeholder (called key), and the external text file lists all those keys and give the text that should replace that placeholder in the game.
That is the reason why that script will not function unless you wrote the file that contains both the placeholder-keys and the real text that should be displayed at that point in the game.
The translation part comes later, because then you just provide different text files for different languages.
But that external text file for the first language - that is what you have to write before anything can function, and you are the one who has to decide how the placeholder keys are named and what they replace ingame.
