Translating view and ajax

Related to #629