public function getManage($language_id, $group)
{
$language = TranslationLanguage::findOrFail($language_id);
$allTranslations = Translation::where('group', $group)->orderBy('key', 'asc')->get();
$numTranslations = count($allTranslations);
$translations = [];
foreach ($allTranslations as $translation) {
$translations[$translation->key][$translation->locale] = $translation;
}
$locales = ['en', $language->code];
$this->layout->title = 'Manage Translations';
$this->layout->content = View::make('translation_manager::translations')->with('language_id', $language_id)->with('group', $group)->with('locales', $locales)->with('translations', $translations);
}