When European monks first arrived in "far-off-lands" with no common linguistic history, how did they learn the local language to convert people?

by Nerf551987

For example, 16th century Vietnam saw the growth of a Catholic minority thanks to Portugese and later French monks. How was communication established between the two groups with no common language between them?

xSnarf