Translating view and ajax

Related to #629
just primitive types