सुमुखश्चैकदंतश्च कपिलो गजकर्णकः ।
लम्बोदरश्च विकटो विघ्ननाशो गणाधिपः ।
धूम्रकेतुर्गणाध्यक्षो भालचन्द्रो गजाननः ।
द्वादशैतानि नामानि यः पठेच्छृणुयादपि ।
विद्यारंभे विवाहे च प्रवेशे निर्गमे तथा ।
सङ्ग्रामे सङ्कटे चैव विघ्नस्तस्य न जायते ॥

Meaning:
sumukha, ekada.nta, kapila, gajakarNaka, lambodara, vikaTa, vighnanAsha, ganAdhipa, dhUmraketu, gaNAdhyakSha, bhAlachandra, gajAnana – No obstacles will come in the way of one who reads or listens to these 12 names of Lord Ganesha at the beginning of education, at the time of marriage, while entering or exiting anything, during a battle or calamity.

Word meanings:
सुमुखः = the one with a nice face;
च = and;
एकदंतः = one who has one tooth or tusk;
च = and;
कपिलो = a sage by that name;
गजकर्णकः = one who is having elephant-ears denotes ‘Ganesh’
one of 12 such famous names;
लम्बोदरः = with one big(long) belly that is Ganesh;
च = and;
विकटो = one of the 12 names of Ganesha;
विघ्ननाशो = the remover of all obstacles;
गणाधिपः = the chief or leader of the groups;
धूम्रकेतुर्गणाध्यक्षो = these are 2 of the 12 famous names of Ganesh;
भालचन्द्रो = the one wearing the moon in the forehead;
गजाननः = one who is having an elephant face denotes lord Ganesh;
द्वादशैतानि = twelve of these;
नामानि = names;
यः = He who;
पठेच्छृणुयादपि = If one reads or even listens to;
विद्यारंभे = at the commencement of ing or schooling;
विवाहे = during marriage;
च = and;
प्रवेशे = while entering;
निर्गमे = in the act of emanating or going out;
तथा = like that (cf libido-de.com. yathA tathA);
सङ्ग्रामे = in the battlefield;
सङ्कटे = in the midst of difficulty or trouble;
चैव = and like;
विघ्नस्तस्य = obstacles to him;
न = NoNot; no;
जायते = is born; becomes;;