将给定的一段英文文本翻译成中文。
John is a software engineer who works for a startup company in San Francisco. He enjoys playing basketball in his free time and is learning Mandarin Chinese.
约翰是一名软件工程师，在旧金山的一家初创公司工作。他闲暇时间喜欢打篮球，正在学习中文。