Language representation. I wish to have an object with attributes that could be language dependant. How do I represent this?

A) the attribute is a dictionary/hashmap with keys of the language (ie. "en", "fr"...)

B) different items marked with the language in one attribute and all attributes in that item has values of that language.

Is there another way? (Sorry for using objects and items interchangeably)

Post has attachment
I wonder if this technique could be used in normal game engines too for improving frame rate.

Post has attachment
Remember to participate to Codeforces Round #242 Friday 2014-04-24 07:00:00 UTC.
Wait while more posts are being loaded