You can't use the ^ any way you want because it is a special character. That is why the error is occuring. However, you need to know that the plugin will not work at all even when you get it to compile. You can't just start translating everything you see in quotation marks. Some of them are extremely important to the code itself. Refering to lines 370 through 390.