How to quote from a source in a different language
Your method sounds good. Indicate somehow that you translated, either by saying so once at the beginning of your essay, or individually with each quotation.  

General advice: Who are you writing this for?  If for a a class, ask the instructor.  If for a journal, consult the editor.