You can say "they like something" in Spanish with the following phrases:
- For "you all" (formal) or "they": "A ustedes les gusta" or "A ellos les gusta."
- For "he": "A él le gusta."
- For "you all" (informal in Spain): "A vosotros os gusta."
Note: Use "les gustan" if the subject is plural and you're referring to something plural (e.g., "They like the books" would translate to "A ellos les gustan los libros"). If you're referring to a singular item, you can use "les gusta."