Turkey slams German 'populism' after Merkel shift on EU talks
Relations between the two countries have been strained since last year's failed coup in Turkey and Berlin's strong condemnation of Erdogan following a subsequent crackdown that has seen more than 50,000 people arrested.
"Attacking Turkey-Erdogan and ignoring Germany's and Europe's fundamental and urgent problems are a reflection of a lack of vision," Ibrahim Kalin said in a tirade on Twitter.
Kalin said this was a "surrender to populism and marginalisation/hostility (which) only fuels discrimination and racism".
In a TV showdown with challenger Martin Schulz on Sunday ahead of elections on September 24, Merkel said it was "clear that Turkey should not become a member of the European Union".
Merkel said she would discuss with EU counterparts if "we can end these membership talks", adding: "I don't see (Turkey) ever joining and I had never believed that it would happen."
Bilateral ties worsened after Turkey detained German citizens including Turkish-German journalist Deniz Yucel, the Istanbul correspondent for the Die Welt newspaper.
Yucel has now spent over 200 days in custody ahead of a trial on terror charges. Last week two more German citizens were arrested, bringing the total number of Germans in Turkish custody to 12.
Erdogan has previously accused Germany of sheltering coup plotters as well as Kurdish militants and demanded their extradition.
Kalin appeared to suggest that Germany supported terrorism, by giving space to groups like the Kurdistan Workers' Party (PKK) and the movement led by US-based Islamic cleric Fethullah Gulen who is accused of ordering the July 15, 2016 attempted putsch.
Gulen strongly denies the charges but Turkey calls his movement the "Fethullah Terrorist Organisation" (FETO). The movement denies this, insisting it promotes Islam, charity and education.
"Is Germany, which openly embraces organisations like the PKK and FETO, not aware that it defends terrorists and coup-plotters, not democracy?"
Last month, Erdogan urged ethnic Turks in Germany to vote against Merkel's conservatives and their coalition partners, the Social Democrats, in the election.
But Kalin dismissed the vote, saying: "It does not matter which party wins in the German elections because the mentality which will win is now obvious."