User profile country only displays Spain

User profile country only displays Spain

by Sergio Castro -
Number of replies: 2

Hi,

I have Moodle 4.0.4 installed. When trying to edit a user profile, in "select a country", the only option listed is "Spain".

Any idea how to fix this?

Thanks

Average of ratings: -
In reply to Sergio Castro

Re: User profile country only displays Spain

by Randy Thornton -
Picture of Documentation writers
Check the setting in Site administration > Location settings > All country codes. This determines which countries appear on such lists including user profiles. There's a full description there of how this should be set depending on what you want to. If you or someone else has put ES here, then that would explain why only Spain appears on the list, since that would restrict the list to just Spain. Leave the setting blank to show the full list provided in Moodle or you can add specific countries you want using the official codes.
In reply to Randy Thornton

Re: User profile country only displays Spain

by Sergio Castro -
That worked, thanks Randy, I appreciate it