Creating method in controler for internationalization