public function update($id)
{
$input = Input::all();
try {
$language = TranslationLanguage::findOrFail($id);
$language->update($input);
return Redirect::route("{$this->link_type}.modules.doptor.translation_manager.languages.index")->with('success_message', trans('success_messages.translate_lang_update'));
} catch (ValidationException $e) {
return Redirect::back()->withInput()->withErrors($e->getErrors());
}
}