Volkswagen says it will build an all electric version of its Golf model by 2013.