Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


Language Options


I would love to have the option for the user to change language in the Fun Facts app. Any ideas on how to do that our tutorials for doing that?

All the best!

Would you be typing all the translations or are you expecting a system to do that for you?

4 Answers

I'm not sure how to display the options, but essentially, you'd have them choose the language and then use an if statement to see which string to display in your model. Start with a button where when you tap it it changes between two languages.

What is most easy? :)

See, I've never done either, so I don't know of any system that would do it for you and if thats what you're looking for, but I know how you could do it if you'd do all the translations yourself.

Cool! Thanks Nick Janes Do you have a link or some code you can provide?