Extend Llama to a New Language: A Technical Guide