Charly

Charly

  • NA
  • 6
  • 0

Create a dictionary like array

Nov 9 2009 7:26 AM
Hello,

I would like to store this data into an array:

[Error1],[Lang1,Text]
[Error1],[Lang2,Text]
[Error2],[Lang1,Text]

So I have an error id and I would like to have an array or other object to quickly find the error and select the correct text depending on the language.

And if needed I just need to add a new language and text for an error I do not need to change the code where it is used to find the correct text.

Any idea's ?

Kind regards,

Answers (5)