Ed Miliband has attempted to convince voters the party has learnt from its past mistakes on immigration by unveiling tough new measures to tackle the issue.

Mr Miliband admitted Labour had made errors in 2004 under Tony Blair that left "working people" facing "dramatic changes in their communities that were not planned or properly prepared for".

Unveiling a five-point policy at an event in Wirral, the Labour leader said he would ensure that all NHS workers would be "required to speak English to a sufficient standard so they can care effectively for patients".

He said a Labour government would legislate to give healthcare regulators the power to enforce the rule.

Mr Miliband spoke about how his parents had fled the Nazi regime and come to Britain and that had made him believe in a "shared society".

He said this could only be achieved if people "speak the same language".

The Labour leader said: "And it is why I believe in a simple principle: everyone in Britain should know how to speak English.

"Sometimes, we've been too timid about this. But it is something we should expect from everyone who comes here.

"And it is especially important that people who work in public services in public facing roles should be required to speak English.

"And nowhere is that more true than in our NHS."

Apologising for the Labour government's track record, he said they should have made sure there were "maximum transitional controls" when new countries joined the European Union.

Mr Miliband said: "I've been very clear about the mistakes the last Labour government made."

And he said: "Let me be clear. It is not prejudiced to be concerned about immigration."

Mr Miliband pledged a new system of controls, including a new system to count people in and out of the country, 1,000 new border staff and tougher rules on claiming benefits.

He also promised to end illegal and abusive practices which see migrants living and working in appalling conditions for minimal pay.

He said a Labour government would set up a 100-strong police and Home Office enforcement unit to increase prosecutions and fines against bad employers who are undermining the minimum wage and encouraging low-skilled migration.

And he said there would be a cap on immigrants coming to the UK from outside the EU.

:: Full General Election 2015 Coverage

Mr Miliband also attacked David Cameron's vow to reduce net migration to the tens of thousands, saying the "Conservatives' target is in tatters".

UKIP leader Nigel Farage said Labour's open-door policy on immigration that had caused the problem, but added Mr Miliband was right that some people who came to the UK were exploited.

He said: "There's no doubt that there are problems out there but it is not the main issue. The main issue is we have allowed too many people to come into Britain, which is pushing down people's wages."

In January, Mr Farage told Sky News that UKIP would not allow people who could not speak proper English to work in the NHS. Last year's local and European elections showed that UKIP was a threat to Labour in some areas in the North.

Tory Immigration Minister James Brokenshire said: "Nothing Ed Miliband is proposing today would help control immigration.

"Labour sent out 'search parties for people' and under them net migration increased more than five-fold."

Meanwhile, David and Samantha Cameron visited a Sikh temple in Gravesend to mark the Vaisakhi festival .

The Prime Minister made a speech thanking the community for its contribution to British society.

He told the audience the Vaisakhi festival was a "big, bold" sign of their devotion.

"I wanted to make sure Downing Street was part of this too, and I'm proud to be the first Prime Minister to host a Vaisakhi reception at Number 10," he said.

"And I'll tell you what - if I'm back there as Prime Minister, I'll keep bringing the community, the colour and the celebrations there, again and again.

"And I'm sure my children will carry on stealing the jalebi (sweets) too!"

With 19 days to go until the General Election, the latest poll by YouGov for the Sun has Labour and the Conservatives tied on 34%.