Thank you for comments and advice!
1) Latin names have been added!
2) I think it would be really difficult to generate all existent compounds dynamically. For example let's conseder oxydes and chlorides of Mn.
Oxides are: MnO, Mn2O3, Mn3O4(MnOxMnO2), MnO2, Mn2O7. The last one is highly explosive liquid.
But chloride MnCl7 doesn't exist - it's impossible.
To figure out such things for every element combination it would be necessary to implement thousands of rules.
It would be much easier to use database which I do not have. So if anybody will give me such mysql database I would be glad to implement this feature