Twitter is planning to establish a legal entity in Turkey to continue operating there under the country’s controversial internet law that took effect last year, the company announced late Friday. Under the law, social media companies that have more than 1 million users must store Turkish users’ data in the country.