5
Answers

Create a dictionary like array

Charly

Charly

15y
6.5k
1
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)