Replies
first: yes it it. Example from your "Original suggestion by EO" folder is working fine
then: give me some time to study
finally: at the moment not. It is not a matter to read attributes but how to transform them into the hash table I use inside cAppConfig object.
XML nodes tree is transformed into a sequence of keys separated by "\"
So nodes like
<en-GB>
<Good_Morning>
are transformed into the key "en-GB\Good_Morning"
How to transform attributes?
I think the best way is to create a dedicated module so we can define a precise XML format to adhere to.
In that way I can create specific module class dedicated to internationalization that as many hash table as the languages defined in the xml file.
The <object>.setLocale will set the language intenally setting the active hash table to get keys from.
Or something like that.
...
thinking ...
Bookmarks