Here the word "we" refers to Paul, the writer, and those who traveled with them, but not to the reader. (See: [[rc://en/ta/man/translate/figs-exclusive]])
Paul and Luke learned the name of the island. Alternate translation: "we learned from the people" or "we found out from the residents" (See: [[rc://en/ta/man/translate/figs-exclusive]])