I have helped localization of a game before. Normally I receive a table with all the text in the game and I just have to swap it into another language. Actually it does not matter whether you meet that particular line of text during actually playtesting or not.