Solved problem with rails ajax operations in translations page.