"I am eating an onion."
Translation:Tha mi ag ithe uinnean.
Because an means 'the'. There is no word for a/an in any Celtic language apart from Breton so you just leave it out. When translating into English you just have to use your judgment as to when to insert it.
You're lucky there is a word for the - some languages (like Russian) don't even have that.