Examples of using "「こんにちは。」と、トムは笑顔で言った。" in a sentence and their german translations:
"Guten Tag", sagte Tom lächelnd.