Please remove the square brackets around settings.FACEBOOK_LIKE_LOCALES: we need to iterate through it directly. Wrapping it in a list like this causes this conditional to always evaluate to false.