What is the word for when someone talks like the people from a certain area?
What is the political strategy called when you use certain dialect and mention certain things in order to appeal to people in a target area? This is done a lot during campaigns in order to give yourself credibility and ethos, since people are more likely to trust/believe someone who sounds like them.
There's a term code-switching that can "refer to switching among dialects, styles or registers". (wiki) The article goes on to note that such shifts "when performed by public figures such as politicians, are sometimes criticized as signalling inauthenticity or insincerity".