King James Version (KJV)
Wherefore it came to pass, when the time was come about after Hannah had conceived, that she bare a son, and called his name Samuel, {saying}, Because I have asked him of the LORD. {when...: Heb. in revolution of days} {Samuel: that is, Asked of God}
Modern English
When the time had come, Hannah conceived, and bore a son; and she named him Samuel, saying, “Because I have asked him of Yahweh.”
Hebrew
וַיְהִי֙ לִתְקֻפ֣וֹת הַיָּמִ֔ים וַתַּ֥הַר חַנָּ֖ה וַתֵּ֣לֶד בֵּ֑ן וַתִּקְרָ֤א אֶת־שְׁמוֹ֙ שְׁמוּאֵ֔ל כִּ֥י מֵיְהוָ֖ה שְׁאִלְתִּֽיו׃
vayhiy litqupvot hayamiym vatahar ḥanah vateled ben vatiqraʾ ʾet-shmvo shmvʾel kiy meyhvah shʾiltiyv