إِنif شَكَرنَthey thanked (feminine plural) لِماهِرَfor Mahir حُسنَthe goodness of الصَنيthe deed (word continues)
إِن شَكَرنَ لِماهِرَ حُسنَ الصَني
عِcompletion of the word meaning 'the deed' فَصُنعُهُthen his work وَجَميلُهُand his kindness لِلشُكرِfor gratitude عامِلِa cause
عِ فَصُنعُهُ وَجَميلُهُ لِلشُكرِ عامِلِ
If they thank Mahir for his fine deeds,
If we thank the skilled one for the beauty of his craftsmanship
then his work and kindness inspire gratitude.
His making and his beauty are for gratitude a cause
أَوor اِذكُرنَrecount (feminine plural command) لَهُfor him مَحاسِنَvirtues أَنَّهاthat they
أَو اِذكُرنَ لَهُ مَحاسِنَ أَنَّها
مِثلَlike الشُموسِthe suns بَيانَهاexplaining them تَحصيلُattainment of حاصِلِwhat is already attained
مِثلَ الشُموسِ بَيانَها تَحصيلُ حاصِلِ
Or recount his virtues, for they are
Or if we mention of his virtues that they are
like suns; explaining them is stating the obvious.
Like suns, to enumerate them is to enumerate what is already enumerated
فَاللَهُso God يوليهِgrants him العُلاeminence حَتّىuntil يَليhe attains
فَاللَهُ يوليهِ العُلا حَتّى يَلي
أَعلاthe highest مَراتِبهاits ranks بِإِجماعِby the consensus of الأَفاضِلِthe distinguished
أَعلا مَراتِبها بِإِجماعِ الأَفاضِلِ
So God grants him eminence until he attains
Then God will grant him ascension until he attains
its highest ranks, by the consensus of the distinguished.
The highest of its degrees by consensus of the noble
Sol 6.1