Initially, my iPhone language was English. Later, I changed it to French. And when I printed Bundle.main.preferredLocalizations.first, it was correctly printing
Bundle.main.preferredLocalizations.first