Help with reading a file in C, with fgets()/sscanf()

This is a discussion on Help with reading a file in C, with fgets()/sscanf() within the C Programming forums, part of the General Programming Boards category; I have a text file with 190 lines, that goes something like this:
Code:
Antigua,English,Local dialects
Bahamas,English,Creole
Barbados,English
Belize,English,Spanish,Mayan,Carib
Canada,English,French
...

First field is the country, following fields are the different languages spoken in that country.
Since some countries have more languages than others, I am stuck trying to read the file using fgets() and sscanf().
I'm doing this:

Code:

while(i < SIZE && fgets(buffer, 255, fp))
{
sscanf(buffer, "%[^,]%*c%[^\n]", holdName, buffer);//read the country first, and keep the rest for the languages
.........
/* Here is where I'm lost, I want to read a language, keep the rest of the buffer to repeat until
the buffer is empty. But obviously I'm doing it wrong */
while(sscanf(buffer, "%[^,]%*c%[^\n]", holdLang, buffer) != '\n')
{
............
}
i++;
}

Any help please?
I have this big program to do, and can't do anything else until I am able to read the whole file.