I am an engineer traveling to Germany for training for two weeks in Ramadan. Must I fast there? If so, how?
Praise be to Allah, the Lord of the World; and may His blessings and peace be upon our Prophet Muhammad and upon all his Family and Companions.
The rulings of a resident person apply to everyone who travels to a place and intends to stay there for more than four days. Thus, he has to fast and perform complete prayers. This is the opinion of the majority of Muslim scholars.
There are many Muslims and Islamic centers in Germany; you may consult them to carry out your religious duties perfectly.
Allah knows best.
You can search for fatwa through many choices