When setting the country either through the user settings form or the application settings form, the country name is saved to the database, but it is language specific and whenever the user changes the application language the country name is lost and must be defined again. The problems gets solved by using and saving the country code ($cldr key in $countries array).