Using too much resources
Posted on 2011-09-15
I've got a VB6 application for English users, now I want to translate it to a different language.
I want to create a variable for each English word or sentence used in my application eg:
Public Const Lang_Search As String = "Search"
Public Const Lang_Open As String = "Open"
All this variable I put in a module called mod_English.bas
And for any other language I just create a new module and change the variable's string values.
But I have a couple of thousand words / sentences in my software that must be translated.
I assume this method will take up a lot of resources, because all the variables will be stored in memory.
Is there a better way of doing this that is more resource friendly?