1. A computer keyboard, comprising: an operation unit, a processing unit, an output unit, a query unit, and a display unit; wherein the operation unit comprises an editing key, a function key, and a sending key; the editing key is configured to respond to a user input to generate an editing information, the function key is configured to respond to the user input to control the computer keyboard entering an editing mode or a translating mode, the sending key is configured to respond to the user input to generate a sending instruction when the computer keyboard is in the translating mode; the processing unit is configured to transmit the editing information to an editing software via the output unit, when the computer keyboard is in the editing mode; the query unit is configured to translate the editing information via a dictionary application to generate a translation result, and display the editing information and the translation result on the display unit; and the processing unit is further configured to acquire and transmit the editing information or the translation result to the editing software according to the sending instruction.