Connect products with configurable product in magento with PHP
===

I am currently writing an import for magento products. The data are delivered in a huge XML file - so I can't use the CSV import, which seems to be delivered directly with magento.

It is possible to import simple products - but there are two kinds of products I have some problems with:

 1. Different languages for a product (languages are bound to the storeview)
 2. Configurable products, which have connected products

I have totally no idea how to solve the problems. I hope you can give me a clue!
I've created models with products and save them - this works. But I don't know how to add language versions and the configurable products.