Translating view and ajax

Related to #629
another method in the same controller