When your ship first docks in a city chances are you will have communication problems with the local NPC. Ask users around you to translate for you. Fleet members can translate too. You can also choose to acquire the language skill before entering the city. It can be done by going to a guild master or mansion NPCs.