The code posted fails because there isn't a translate() method in the PHP API or code provided (called from the global $api variable in display_tree()). Was it part of a custom class you wrote? Or was it in the API at one stage, then deprecated?

Decrypting all the one-letter declensions (like "scjdaem") isn't quite straightforward. As a time-saver, I think it would be good if the API were to provide a translation utility for all skill branches. If it does exist already, please let us know where it's located.

The code posted fails because there isn't a translate() method in the PHP API or code provided (called from the global $api variable in display_tree()). Was it part of a custom class you wrote? Or was it in the API at one stage, then deprecated?

it was supposed to be example, not a working code ;-) and so $api (my own class) was not included.