I have a fairly large bash script (~5000 lines) using the dialog utility as a UI. I should rewrite it to make it capable to support different languages.
Of course there are many ways to do this. My main concerns are readability (of the script code) and speed. I am not looking for actual code but for some ideas how you would implement this.