+ elsif params[:language]
+ @entries = DiaryEntry.find(:all, :include => :user,
+ :conditions => ["users.visible = ? AND diary_entries.language_code = ?", true, params[:language]],
+ :order => 'created_at DESC', :limit => 20)
+ @title = "OpenStreetMap diary entries in #{Language.find(params[:language]).english_name}"
+ @description = "Recent diary entries from users of OpenStreetMap in #{Language.find(params[:language]).english_name}"
+ @link = "http://#{SERVER_URL}/diary/#{params[:language]}"