(31:27) And if whatever trees upon the earth were pens and the sea [was ink], replenished thereafter by seven [more] seas, the words of Allah would not be exhausted. Indeed, Allah is Exalted in Might and Wise.
Muhammad Taqi-ud-Din al-Hilali and Muhammad Muhsin Khan,
(31:27) And if all the trees on the earth were pens and the sea (were ink wherewith to write), with seven seas behind it to add to its (supply), yet the Words of Allah would not be exhausted. Verily, Allah is All-Mighty, All-Wise.
Mohammed Marmaduke William Pickthall
(31:27) And if all the trees in the earth were pens, and the sea, with seven more seas to help it, (were ink), the words of Allah could not be exhausted. Lo! Allah is Mighty, Wise.
Abdullah Yusuf Ali
(31:27) And if all the trees on earth were pens and the ocean (were ink), with seven oceans behind it to add to its (supply), yet would not the words of Allah be exhausted (in the writing): for Allah is Exalted in Power, full of Wisdom.
Mohammad Habib Shakir
(31:27) And were every tree that is in the earth (made into) pens and the sea (to supply it with ink), with seven more seas to increase it, the words of Allah would not come to an end; surely Allah is Mighty, Wise.
Dr. Ghali
(31:27) And if whatever tree (s) in the earth were pens, and the sea (and) seven more seas even after it (were) to replenish it, (yet) in no way would the Words of Allah be depleted. Surely Allah is Ever-Mighty, Ever-Wise.
Ali Unal
(31:27) If all the trees on the earth were pens, and all the sea (were ink), with seven more seas added thereto, the words of God (Hic decrees, the acts of all His Names and Attributes manifested as His commandments, and the events and creatures He creates) would not be exhausted in the writing. Surely God is the All-Glorious with irresistible might (Whom none can frustrate and Whom nothing can tire), the All-Wise.
Amatul Rahman Omar
(31:27) And if all the trees on the earth were to be pens and the vast ocean (be full of ink) and besides that many (more) such oceans to replenish it (and were to supply ink to write the words of God) even then the words of Allâh would not be finished. Verily, Allâh is All-Mighty, All-Wise.
Literal
(31:27) And if that what (is) in the earth/Planet Earth from a tree (were as) writing utensils/pens and the sea/ocean (as ink) extends/spreads (supplies) it from after it seven seas/oceans , God`s words/expressions would not have been depleted/exhausted , that truly God (is) glorious/mighty , wise/judicious .
Ahmed Ali
(31:27) If all the trees of the earth were pens and the oceans ink, with many more oceans for replenishing them, the colloquy of God would never come to end. He is indeed all-mighty and all-wise.
A. J. Arberry
(31:27) Though all the trees in the earth were pens, and the sea-seven seas after it to replenish it, yet would the Words of God not be spent. God is All-mighty, All-wise.
Abdul Majid Daryabadi
(31:27) And if whatever trees there are on the earth were pens, and the sea were ink with seven more seas to help it, the words of Allah could not be exhausted; verily Allah is Mighty, Wise.
Maulana Mohammad Ali
(31:27)-
Muhammad Sarwar
(31:27) If all the trees in the earth were pens and the ocean, with seven more oceans, were ink still these could not suffice to record all the Words of God. God is Majestic and All-wise.
Hamid Abdul Aziz
(31:27) Unto Allah belongs all that is in the heavens and that is in the earth; verily, Allah, He is the Absolute, the Owner of praise.
Faridul Haque
(31:27) And if all the trees in the earth were pens, and the seas were its ink, with seven more seas to back it up – the Words of Allah will not finish
Talal Itani
(31:27) If all the trees on earth were pens, filled by the ocean, with seven more oceans besides, the Words of God would not run out. God is Majestic and Wise.
Ahmed Raza Khan
(31:27) And if all the trees in the earth were pens, and the seas were its ink, with seven more seas to back it up the Words of Allah will not finish; indeed Allah is Almighty, Wise.
Wahiduddin Khan
(31:27) If all the trees on earth were pens, and the sea [were] ink, with seven [more] seas added to it, the words of God would not be exhausted: for, truly, God is Almighty and Wise.
Safi-ur-Rahman al-Mubarakpuri
(31:27) And if all the trees on the earth were pens and the sea, with seven seas behind it to add to it, yet the Words of Allah would not be exhausted. Verily, Allah is All-Mighty, All-Wise.
Ali Quli Qarai
(31:27) If all the trees on the earth were pens, and the sea replenished with seven more seas [were ink], the words of Allah would not be spent. Indeed Allah is all-mighty, all-wise.
Hasan al-Fatih Qaribullah and Ahmad Darwish
(31:27) If all the trees in the earth were pens, and the sea, with seven more seas to replenish it (with ink), the Words of Allah would never end. Allah is the Almighty, the Wise.
That is translated surah Luqman ayat 27 (QS 31: 27) in arabic and english text, may be useful.