The general language strings can be found in: /lang/xx/moodle.php where xx is your language code eg en=english
If you are browsing through the PHP code then the second argument in the print_string and get_string functions will tell you in which file in the language directory the string is located. If the second argument is missing then it is located in moodle.php