YOU SAID:
国で どなた に にほんごを ならいましたか。
INTO JAPANESE
国で どなた に にほんごを ならいましたか。
BACK INTO ENGLISH
Who did you learn Japanese from in your country?
INTO JAPANESE
あなたの国では誰から日本語を学びましたか?
BACK INTO ENGLISH
Who did you learn Japanese from in your country?
That didn't even make that much sense in English.