Is Latvia a socialist country?

No

No. Latvia has completely Westernized since gaining independence from the Soviet Union and currently has a moderated but free market.